Sets the Totalize Gate mode.
GxCntSetTotalizeGateMode (nHandle, nMode, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
nMode |
SHORT |
Gate mode:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function enables or disables the count Gate when in Totalize mode.
The following example sets the Totalize Gate mode to start:
SHORT nHandle, nStatus;
GxCntSetTotalizeGateMode (nHandle, GXCNT_TOTALIZE_GATE_OPEN, &nStatus)
GxCntGetTotalizeGateMode, GxCntGetFunction, GxCntGetErrorString