©
National Instruments Corporation
5
NI 6110/6111/6115/6120 Calibration Procedure
4.
—This step verifies the performance of the
device after adjusting, to ensure the device operates within
specifications after calibration.
These steps are described in the following sections.
Creating Verification and Calibration Code
This section shows the basic flowcharts for creating the verification and
adjustment code for the NI 6110/6111/6115/6120 calibration procedure.
These flowcharts only refer to the appropriate NI-DAQ function calls.
You may want to refer to the
NI-DAQ
Function Reference Help
, and to the
NI-DAQ User Manual for PC
Compatibles
for additional information on the software structure and for
function explanations.
Verifying Analog Input
Figure 1.
Analog Input Verification
From the specification table for the product,
determine the gain, input range, and polarity to verify.
AI_Configure(deviceNumber,chan,0,inputRange,polarity,0)
DAQ_Op(deviceNumber,chan,gain,buffer,1000,10000)
DAQ_VScale(deviceNumber,chan,gain,1,0,1000,buffer,voltArray)
The final measurement is the average of the 1,000 samples.