niScope_CalFetchCount
- Updated2023-02-21
- 1 minute(s) read
C Function Prototype
ViStatus _VI_FUNC niScope_CalFetchCount ( ViSession sessionHandle, ViInt32 whichOne, ViInt32* calibrationCount );
Purpose
Returns the calibration count, which is the number of times the device has been calibrated.
Parameters
| Input | ||
| Name | Type | Description |
| sessionHandle | ViSession | The session handle you obtain from niScope_CalStart or niScope_init. |
| whichOne | ViInt32 | Which type of calibration count to store: self-calibration or external calibration count. |
| Output | ||
| Name | Type | Description |
| calibrationCount | ViInt32* | The number of calibrations performed on this device. |
Return Value
| Name | Type | Description | ||||||||
| Status | ViStatus | Reports the status of this operation. To obtain a text description of the status code,
call
niScope_GetErrorMessage.
To obtain additional information concerning the error
condition, use niScope_GetError
and
niScope_ClearError.
The general meaning of the status code is as follows:
|