GxCntGetGateTime

Purpose

Returns the gate time.

Syntax

GxCntGetGateTime (nHandle,, pdSeconds, pnStatus)

Parameters

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.

Comments

For Frequency, Period, Ratio and GxCntSetFunctionTestInternalClock functions, the selected Gate time sets the minimum measurement interval. It is ignored by all other functions.

Example

The following example returns the gate time:

 

SHORT nHandle, nStatus;

DOUBLE dSeconds

GxCntGetGateTime (nHandle, &dSeconds, &nStatus)

 

See Also

GxCntSetGateTime, GxCntSetAcquisitionTimeInterval, GxCntGetAcquisitionTimeInterval, GxCntSetAcquisitionMode, GxCntGetAcquisitionMode, GxCntGetErrorString