DAQmxAdjust1520Cal

NI-DAQmx C Functions

DAQmxAdjust1520Cal

int32 DAQmxAdjust1520Cal (uInt32 calHandle, float64 refVoltage, float64 measOutput);

Purpose

Adjusts the external calibration constants for the SCXI-1520 module. You must supply a known voltage to the device and specify that voltage with refVoltage.

This device needs reference signals of 0.0 volts at gains of 1, 15, 20, and 310 on a particular channel in order to perform an offset calibration for that channel.

Parameters

Input
Name Type Description
calHandle uInt32 A reference to the calibration session that you created using the DAQmxInitExtCal function.
refVoltage float64 The known voltage, in volts, to use as a reference for calibration.
measOutput float64 The voltage measured at the output of the module.

Return Value

Name Type Description
status int32 The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error.