niDCPower_ConnectInternalReference
- Updated2025-10-06
- 1 minute(s) read
Connects the Internal Reference to the Calibration Pin / Measurement Channel in preparation for adjustment. Refer to the calibration procedure for the device you are calibrating for detailed instructions on the appropriate use of this function. This function can only be called from an external calibration session.
Syntax
ViStatus _VI_FUNC niDCPower_ConnectInternalReference(ViSession vi, ViInt32 internalReference)
Remarks
This function is not supported on all devices. Refer to Supported Functions by Device for more information about supported devices.
Parameters
| Name | Direction | Type | Description | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| vi | [in] | ViSession | Identifies a particular instrument session. vi is obtained from the niDCPower_InitializeWithIndependentChannels function. | |||||||||||||||||||||
| internalReference | [in] | ViInt32 | Specifies the internal reference to be connected to the calibration pin / measurement channel. Defined Values:
|
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 |