National Instruments 321645c-01 Welding System User Manual


 
Chapter 2 Function Reference Calibrate_E_Series
NI-DAQ FRM for PC Compatibles 2-58
©
National Instruments Corporation
Calibrate_E_Series
Format
status = Calibrate_E_Series (deviceNumber, calOP, setOfCalConst, calRefVolts)
Purpose
Use this function to calibrate your E Series device and to select a set of calibration constants
to be used by NI-DAQ.
Caution
Read the calibration chapter in your device user manual before using
Calibrate_E_Series.
Note
Analog output channels and the AO and WFM functions do not apply to the AI
E Series devices.
Parameters
Input
Parameter Discussion
The legal ranges for the calOp and setOfCalConst parameters are given in terms of constants
that are defined in the header file. The header file you should use depends on which of the
following languages you are using:
C programmers—
NIDAQCNS.H (DATAACQ.H for LabWindows/CVI)
BASIC programmers—
NIDAQCNS.INC
Pascal programmers—NIDAQCNS.PAS
calOP determines the operation to be performed.
Range:
ND_SET_DEFAULT_LOAD_AREA—Make setOfCalConst the default load area; do not
perform calibration.
ND_SELF_CALIBRATE—Self-calibrates the device.
ND_EXTERNAL_CALIBRATE—Externally calibrates the device.
Name Type Description
deviceNumber i16 assigned by configuration utility
calOP u32 operation to be performed
setOfCalConst u32 set of calibration constants or the EEPROM
location to use
calRefVolts f64 DC calibration voltage
!