DAQmxSetup1126Cal

NI-DAQmx C Functions

DAQmxSetup1126Cal

int32 DAQmxSetup1126Cal (uInt32 calHandle, const char channelName[], float64 upperFreqLimit);

Purpose

Specifies the channel and upper frequency limit on the SCXI-1126 module for calibration. Calibration input/output points can be measured by supplying reference signals to the specified channel and measuring the outputs. Specify each of these points using the DAQmxAdjust1126Cal 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.
upperFreqLimit float64 The high frequency limit in hertz, with 0 Hz as the low frequency limit, which most closely encapsulates the ranges to be calibrated.

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.