Gx6125Reset

Purpose

Opens all the board relays.

Syntax

Gx6125Reset (nHandle, pnStatus)

Parameters

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

Comments

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

Example

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

 

Gx6125Initilize (1, &nHandle, &nStatus);

if (nStatus < 0)

    return nStatus;    // return error

Gx6125Reset (nHandle, &nStatus);

 

See Also

Gx6125Intialize, Gx6125SetChannels, GxSWGetErrorString