Returns the gate time.
GxCntGetGateTime (nHandle,, pdSeconds, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
pdSeconds |
PDOUBLE |
Returned gate time in seconds. Gate time range is 0.250µS to 3200 seconds with a resolution of 0.75µS. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
For Frequency, Period, Ratio and GxCntSetFunctionTestInternalClock functions, the selected Gate time sets the minimum measurement interval. It is ignored by all other functions.
The following example returns the gate time:
SHORT nHandle, nStatus;
DOUBLE dSeconds
GxCntGetGateTime (nHandle, &dSeconds, &nStatus)
GxCntSetGateTime, GxCntSetAcquisitionTimeInterval, GxCntGetAcquisitionTimeInterval, GxCntSetAcquisitionMode, GxCntGetAcquisitionMode, GxCntGetErrorString