DAQmxAdjustDSAAICal

NI-DAQmx C Functions

DAQmxAdjustDSAAICal

int32 DAQmxAdjustDSAAICal (uInt32 calHandle, float64 referenceVoltage);

Purpose

Adjusts the external calibration constants for the analog input section of a DSA device. You must connect a known voltage to the device and specify that voltage with the referenceVoltage parameter.

Parameters

Input
Name Type Description
calHandle uInt32 A reference to the calibration session that you created using the DAQmxInitExtCal function.
referenceVoltage float64 The known voltage, in volts, to use as a reference for calibration. This voltage should be between +4.9 V and +9.1 V.

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.