Resets the GX5732 board to its default settings.
Gx5732Reset (nHandle, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX5732 board. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function resets all digital I/O port and counters. Digital I/O ports are set to input direction. Counters are disabled and set to continuous mode, 0 value, clock source is zero, gate is enabled, counter port is set to input from counter 0 with load control set to None, Terminal Counter set to Counter 0, Clock are set to 33Mhz with divider set to 1.
The following example initializes and resets the GX5732 board:
Gx5732Initialize (1, &nHandle, &nStatus);
Gx5732Reset (nHandle, &nStatus);