Sets the delay time for the GxCntSetFunctionTimeIntervalDelay function.
GxCntSetTimeIntervalDelay (nHandle, , nMode, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
nMode |
SHORT |
Delay time in seconds, Delay time range 20S to 3200 seconds. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The delay time is used as a special mode to disable or “hold off” measurement completion to ease such difficult measurement setups. The delay time is only used by the GxCntSetFunctionTimeIntervalDelay function.
The following example sets the delay time to 1mS:
SHORT nHandle, nStatus;
GxCntSetTimeIntervalDelay (nHandle, 0.001, &nStatus)
GxCntGetTimeIntervalDelay, GxCntGetFunction, GxCntGetErrorString