NI-DCPower C Function Reference Help

niDCPower_CalAdjustOutputResistance

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

ViStatus niDCPower_CalAdjustOutputResistance(ViSession vi, ViConstString channelName, ViUInt32 numberOfValues, ViReal64 requestedOutputs[], ViReal64 measuredOutputs[]);

Purpose

Compares the array in requestedOutputs to the array in measuredOutputs and calculates the calibration constants for the output resistance of the specified channel. 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 calibration session. vi is obtained from the niDCPower_InitExtCal function.
channelName ViConstString Specifies the output channel name to which these calibration settings apply. Only one channel at a time can be calibrated.
numberOfValues ViUInt32 Specifies the number of elements in requestedOutputs and measuredOutputs.
requestedOutputs ViReal64[] Specifies an array of the output values that were requested in the niDCPower_ConfigureOutputResistance function.
measuredOutputs ViReal64[] Specifies an array of the output values measured by an external precision digital multimeter.

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