niDCPower_GetExtCalRecommendedInterval
- Updated2025-10-06
- 1 minute(s) read
Returns the recommended maximum interval, in months, between external calibrations.
Syntax
ViStatus _VI_FUNC niDCPower_GetExtCalRecommendedInterval(ViSession vi, ViInt32 *months)
Remarks
This function can only be used in a session initialized to a single instrument.
Parameters
| Name | Direction | Type | Description |
|---|---|---|---|
| vi | [in] | ViSession | Identifies a particular instrument session. vi is obtained from the niDCPower_InitExtCal or niDCPower_InitializeWithIndependentChannels function. |
| months | [out] | ViInt32 * | Specifies the recommended maximum interval, in months, between external calibrations. |
Returns
Reports the status of this operation. To obtain a text description of the status code, call niDCPower_error_message. To obtain additional information concerning the error condition, call niDCPower_GetError. The general meaning of the status code is as follows:
Value | Meaning |
|---|---|
0 | Success |
Positive Values | Warnings |
Negative Values | Errors |