Clear the counter buffers and start new measurement.
GxCntClear (nHandle, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Clears the output data buffer, the count in Totalize and Accumulate modes, and clears the errors and starts a new measurement. The counter’s setup does not is not change.
The following example clears the counter:
SHORT nHandle, nStatus;
GxCntClear (nHandle, &nStatus);
GxCntSetFunctionAccumulate, GxCntSetFunctionTotalize, GxCntReset, GxCntGetErrorString