Sets the function mode to Fast Frequency.
GxCntSetFunctionFastFrequency (nHandle, nChannel, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
nChannel |
SHORT |
Specified Channel number:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
Sets the mode to measure FastFrequency on the specified channel. This mode allows frequency measurement using short measurement interval enabling fast data acquisition. Since measurement resolution is proportional to the gate time low frequency signals are best suitable for this mode.
Note: Start arming can be used with FastFrequency, although Stop arming is not available.
The following example sets the function to Fast Frequency measuring channel B:
SHORT nHandle, nStatus;
GxCntSetFunctionFastFrequency (nHandle, GXCNT_MEASURE_CHANNEL_B, &nStatus);
GxCntSetFunctionFrequency, GxCntSetArmSource, GxCntSetArmSlope, GxCntGetErrorString