DAQmxSetup1102Cal

NI-DAQmx C Functions

DAQmxSetup1102Cal

int32 DAQmxSetup1102Cal (uInt32 calHandle, const char channelNames[], float64 gain);

Purpose

Sets the SCXI-1102 module to the specified gain value. Calibration input/output points can be measured by supplying reference signals to the specified channel and measuring the outputs. Each of these points should be specified using the DAQmxAdjust1102Cal function.

Note The terminal where module output is measured will depend 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. Please 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.
channelNames const char [] The physical channel(s) 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.