Gx6384Reset

Purpose

Opens all the board relays.

Syntax

Gx6021Reset (nHandle, pnStatus)

Parameters

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

Comments

The function is typically called after calling the Gx6384Initialize function.

Example

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

 

Gx6384Initilize (1, &nHandle, &nStatus);

if (nStatus < 0)

    return nStatus; // return error

Gx6384Reset (nHandle, &nStatus);

 

See Also

Gx6384Initialize, GxSWGetErrorString