©
National Instruments Corporation
33
NI 446X Calibration Procedure
3.
Initialize the AI calibration using the following function.
You use the object
myCalHandle
in all subsequent NI-DAQmx
function calls.
4.
Perform the AI calibration using the following function call. The
reference voltage parameter is the voltage value output by the
calibrator.
5.
Finish the AI calibration with the following function call. Use the
action
cancel
if there has been any error during the AI calibration or
if you do not want to save the new AI calibration constants in the
device EEPROM. Use the action
commit
if you want to save the new
AI calibration constants in the device EEPROM.
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxInitExtCal
with the following
parameters:
deviceName
:
dev1
password
:
userPassword
calHandle
:
myCalHandle
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxAdjustDSAAICal
with the
following parameters:
calHandle
:
myCalHandle
referenceVoltage
:
5.0
NI-DAQmx Function Call
LabVIEW Block Diagram
Call
DAQmxCloseExtCal
with the following
parameters:
calHandle
:
myCalHandle
action
:
DAQmx_Val_Action_Commit
or
DAQmx_Val_Action_Cancel