DAQmxSetup1503Cal

NI-DAQmx C Functions

DAQmxSetup1503Cal

int32 DAQmxSetup1503Cal (uInt32 calHandle, const char channelName[], float64 gain);

Purpose

Sets the SCXI-1503 module to the specified gain value. Calibration I/O points can be measured by supplying reference signals to the specified channel and measuring the outputs. Specify each of these points using the DAQmxAdjust1503Cal function.

Note The terminal where the module output is measured depends on the configuration of the module in MAX. National Instruments recommends cabling the module to the digitizer so that the output appears on the MCH0± pins of the rear signal connector. Refer to the module user manual for more information on the routing of module output.

Parameters

Input
Name Type Description
calHandle uInt32 A reference to the calibration session that you created using the DAQmxInitExtCal function.
channelName const char [] The physical channel to calibrate.
gain float64 The gain value to calibrate.

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.