DAQmxAdjust1540Cal

NI-DAQmx C Functions

DAQmxAdjust1540Cal

int32 DAQmxAdjust1540Cal (uInt32 calHandle, float64 refVoltage, float64 measOutput, int32 inputCalSource);

Purpose

Adjusts the calibration constants for the SCXI-1540 module. You must measure the voltage generated by a previous call to the DAQmxSetup1540Cal function and specify the measurement with measOutput.

Parameters

Input
Name Type Description
calHandle uInt32 A reference to the calibration session that you created using the DAQmxInitExtCal function.
refVoltage float64 The excitation RMS voltage measured from the front of the module.
measOutput float64 The voltage measured at the output of the module.
inputCalSource int32 The calibration input source selection.
Value Description
DAQmx_Val_Loopback0 Loopback the internal excitation voltage with 0 degree phase shift.
DAQmx_Val_Loopback180 Loopback the internal excitation voltage with 180 degree phase shift.
DAQmx_Val_Ground Connect the channel to ground.

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.