Справочник Пользователя для National Instruments Welding System 321645c-01

Скачать
Страница из 554
Chapter 2
Function Reference — MIO_Calibrate
NI-DAQ FRM for PC Compatibles
2-280
©
 National Instruments Corporation
MIO_Calibrate
Format
status = MIO_Calibrate (deviceNumber, calOP, saveNewCal, EEPROMloc, calRefChan,
DAC0chan, DAC1chan, calRefVolts, refLoc)
Purpose
Note
If you have an E Series device, use 
Calibrate_E_Series
.
You can use this function to calibrate your AT-MIO-16F-5, AT-MIO-64F-5, and 
AT-MIO-16X devices. You need to calibrate your device under the following conditions:
If it is operating in an environment with a temperature that differs by more than 10° C 
from the temperature at which the device was calibrated. Your device is calibrated at the 
factory at room temperature (25° C).
Once every year.
You can perform a new calibration or use an existing set of calibration constants by copying 
the constants from their storage location in the onboard EEPROM. You also can store 
calibration constants. NI-DAQ automatically loads the calibration constants stored in the 
EEPROM load area the first time you call a function pertaining to the AT-MIO-16F-5, 
AT-MIO-64F-5, or AT-MIO-16X devices that requires calibration constants to be loaded 
(when you call an 
AI
AO
DAQ
SCAN
, or 
WFM
 function).
The load area for the AT-MIO-16F-5 is user area 5. The load area for the AT-MIO-64F-5 and 
AT-MIO-16X is user area 8.
Caution
Read the calibration chapter in your device user manual before using 
MIO_Calibrate
.
Parameters
Input
Name
Type
Description
deviceNumber
i16
assigned by configuration utility
calOP
i16
operation to be performed
saveNewCal
i16
save new calibration constants
EEPROMloc
i16
storage location
!