Sets the Gate time.
CalCounterSetGateTime (hHandle, nChannel, dSeconds, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Counter. |
nChannel |
SHORT |
Select channel (0-based). |
dSeconds |
DOUBLE |
Gate time in seconds. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
The gate time sets the minimum measurement interval.
The following example sets channel 0’s gate time to 0.3 Sec:
LONG lHandle, lStatus;
CalCounterSetGateTime (lHandle, 0, 0.3, &lStatus);
CalCounterMeasure, CalCounterSetFunctionPulseWidth, CalCounterSetTriggerLevel, CalCounterGetError