Resets board.
Gx6196Reset (nHandle, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6196 board. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function is typically called after calling the Gx6196Initialize function.
This function opens all relays, sets all PIO outputs to 0 and disables all PIO outputs.
The following example initializes the driver and then resets the board.
Gx6196Initilize (1, &nHandle, &nStatus);
if (nStatus < 0)
return nStatus; // return error
Gx6196Reset (nHandle, &nStatus);