Chapter 2 Function Reference — Calibrate_E_Series
NI-DAQ FRM for PC Compatibles 2-60
©
National Instruments Corporation
the default load area is the area that contains the calibration constants obtained by calibrating
the device in the factory. NI-DAQ automatically loads the relevant calibration constants stored
in the load area the first time you call a function (an
AI, AO, DAQ, SCAN and WFM function)
that requires them. NI-DAQ also automatically reloads calibration constants whenever
appropriate; see the Calibration Constant Loading by NI-DAQ section later in this function
for details. When you call the
Calibrate_E_Series function with setOfCalConst set to
ND_NI_DAQ_SW_AREA, NI-DAQ uses a set of constants it maintains in a load area that does
not reside inside the EEPROM.
Note Calibration of your MIO or AI device takes some time. Do not be alarmed if the
Calibrate_E_Series function takes several seconds to execute.
Note After powering on your computer, you should wait for some time (typically 15
minutes) for the entire system to warm up before performing the calibration. You
should allow the same warm-up time before any measurement session that will
take advantage of the calibration constants determined by using the
Calibrate_E_Series function.
Note 611X devices do not support external calibration.
Caution When you call the Calibrate_E_Series function with calOP set to
ND_SELF_CALIBRATE or ND_EXTERNAL_CALIBRATE, NI-DAQ will abort any
ongoing operations the device is performing and set all configurations to defaults.
Therefore, we recommend that you call
Calibrate_E_Series before calling
other NI-DAQ functions or when no other operations are going on.
Explanations about using this function for different purposes (with different values of calOP)
are given in the following sections.
Changing the Default Load Area
Set calOP to ND_SET_DEFAULT_LOAD_AREA to change the area used for calibration constant
loading. The storage location selected by setOfCalConst becomes the new default load area.
Example:
You want to make the factory area of the EEPROM default load area. You should make the
following call:
Calibrate_E_Series(deviceNumber, ND_SET_DEFAULT_LOAD_AREA,
ND_FACTORY_EEPROM_AREA, 0.0)
Performing Self-Calibration of the Board
Set calOP to ND_SELF_CALIBRATE to perform self-calibration of your device. The storage
location selected by setOfCalConst becomes the new default load area.
!