Gx6616Reset

Purpose

Opens all the board relays.

Syntax

Gx6616Reset (nHandle, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6616 board.
pnStatus
LPSHORT
Returned status: 0 on success, negative number on failure.

Comments

The function is typically called after calling the Gx6616Initialize function.

Example

The following example initializes the driver and then resets the board.

 

Gx6616Initilize (1, &nHandle, &nStatus);

if (nStatus < 0)

return nStatus; // return error

Gx6616Reset (nHandle, &nStatus);

 

See Also

Gx6616Initialize, Gx6616GetErrorString