DAQmxSetup1124Cal
int32 DAQmxSetup1124Cal (uInt32 calHandle, const char
channelName[], int32 range, uInt32 dacValue);
Purpose
Writes the specified binary value to the D/A circuitry on the
specified channel at the specified range. Measure and specify the voltage or
current generated in a subsequent call to the DAQmxAdjust1124Cal function.
|
Note Specify at least two calibration points
for each channel/range being calibrated. The recommended binary data to use for
voltage ranges are 0 and 4095. The recommended binary data to use for the
current range is 255 and 4095. |
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. |
range
|
int32 |
The range to calibrate. |
dacValue
|
uInt32 |
The binary number to write to the DAC circuitry. |
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. |