NI-DCPower C Function Reference Help

niDCPower_ConnectInternalReference

  • Updated2023-04-15
  • 1 minute(s) read

ViStatus niDCPower_ConnectInternalReference(ViSession vi, ViInt32 internalReference);

Purpose

Routes the internal reference to the calibration pin 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.

Note Note  This function is not supported on all devices. Refer to Supported Functions by Device for more information about supported devices.

Parameters

Input
Name Type Description
vi ViSession Identifies a particular instrument session. vi is obtained from the niDCPower_InitializeWithIndependentChannels function.
internalReference ViInt32 Specifies the internal reference to be connected to the calibration pin.

Defined Values:
NIDCPOWER_VAL_INTERNAL_REFERENCE_5V (1054)Calibration pin connected to 5 V internal reference.
NIDCPOWER_VAL_INTERNAL_REFERENCE_100KOHM (1055)Calibration pin connected to 100 kΩ internal reference.
NIDCPOWER_VAL_INTERNAL_REFERENCE_GROUND (1056)Calibration pin connected to ground reference.
NIDCPOWER_VAL_INTERNAL_REFERENCE_NONE (1057)Calibration pin disconnected from internal reference.

Return Value

Name Type Description
StatusViStatusReports the status of this operation. To obtain a text description of the status code, call the niDCPower_error_message function. To obtain additional information concerning the error condition, call the niDCPower_GetError function.

Log in to get a better experience