DAQmxSetup1142Cal
From NI-DAQmx C Functions
DAQmxSetup1142Cal
int32 DAQmxSetup1142Cal (uInt32 calHandle, const char channelName[], float64 gain);
Purpose
Sets the SCXI-1142 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 DAQmxAdjust1142Cal 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 |
|
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. |