Sets the measurement number of digits and mode.
GxCntSetMeasurementNumberOfDigits (nHandle, nMode, nMaxDigits, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a counter board. |
nMode |
SHORT |
Measurement number of digits modes are:
|
nMaxDigits |
SHORT |
Number of digits can be between 5 to 14 |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The function allows the use to either format the returned measurement value to a specified number of digits or increase the total number of digits when taking measurements with long gate time in order to get more then maximum 11 digits.
|
Note: Gx2210 and GC2210 will not support number of digits greater than 9. |
The following example sets the measurement number of digits to 13 and sets the mode:
GxCntSetMeasurementNumberOfDigits(nHandle, GXCNT_MEASURE_NUM_OF_DIGITS_FIXED, 13, &nStatus)
GxCntGetMeasurementNumberOfDigits, GxCntSetMeasurementTimeout, GxCntGetFunction, GxCntGetErrorString