Gx6138Reset

Purpose

Opens all the board relays.

Syntax

Gx6138Reset (nHandle, pnStatus)

Parameters

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

 

Comments

The function is normally called after calling the Gx6138Initialize function, since the initialize function will not reset the board.

Example

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

 

Gx6138Initilize (1, &nHandle, &nStatus);

if (nStatus < 0)

return nStatus; // return error

Gx6138Reset (nHandle, &nStatus);

 

See Also

Gx6138Initialize, GxSWGetErrorString, Gx6138SetChannels