int32 DAQmxAdjust4220Cal (uInt32 calHandle, const char channelNames[], float64 gain, float64 inputVal);
Adjusts the internal and external calibration constants for the SCMP pod on the PXI-4220 device. You must supply a known voltage to the device and specify that voltage with inputVal.
This device needs reference signals of 0.0 volts at gains of 1, 15, 20, and 310 on a particular channel in order to perform an offset calibration for that channel. If those points are not manually supplied, they will be automatically measured internally with sample and hold enabled.
| Input | ||
| Name | Type | Description |
|---|---|---|
| calHandle |
|
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 on the SCMP pod to calibrate. |
| inputVal | float64 | The known voltage, in volts, to use as a reference for calibration. |
| 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. |