Gx6377Reset

Purpose

Opens all the board relays.

Syntax

Gx6377Reset (nHandle, pnStatus)

Parameters

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

Comments

The function is typically called after calling the Gx6377Initialize function.

Example

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

 

Gx6377Initilize (1, &nHandle, &nStatus);

if (nStatus < 0)

   return nStatus; // return error

Gx6377Reset (nHandle, &nStatus);

 

See Also

Gx6377Initialize, GxSWGetErrorString