This document contains information about calibrating National
Instruments 9205/9206 modules using NI-DAQmx. This calibration
procedure is intended for metrology labs.
This document does not discuss programming techniques or compiler
configuration. The NI-DAQmx driver contains online help files that have
compiler-specific instructions and detailed function explanations. You can
install these help files when you install NI-DAQmx on the calibration
computer.
The NI 9205 and NI 9206 should be calibrated at a regular interval as
defined by the measurement accuracy requirements of your application.
National Instruments recommends that you routinely perform a complete
calibration at least once every two years. You can shorten this interval based
on the accuracy demands of your application or requirements of your
processes. Self-calibration can be performed as needed or when the
temperature varies by 5 °C or more from the last external calibration.
Where to Go for Support .........................................................................15
Conventions
The following conventions appear in this manual:
»The » symbol leads you through nested menu items and dialog box options
to a final action. The sequence File»Page Setup»Options directs you to
pull down the File menu, select the Page Setup item, and select Options
from the last dialog box.
This icon denotes a note, which alerts you to important information.
boldBold text denotes items that you must select or click in the software, such
as menu items and dialog box options. Bold text also denotes parameter
names and hardware labels.
italicItalic text denotes variables, emphasis, a cross-reference, or an introduction
to a key concept. Italic text also denotes text that is a placeholder for a word
or value that you must supply.
monospaceMonospace text denotes text or characters that you should enter from the
keyboard, sections of code, programming examples, and syntax examples.
This font is also used for the proper names of disk drives, paths, directories,
programs, subprograms, subroutines, device names, functions, operations,
variables, filenames, and extensions.
NI 9205/9206NI 9205/9206 refers to the NI 9205 and NI 9206.
NI 9205/9206 Calibration Procedure2ni.com
Calibration Options
The NI 9205/9206 support two types of calibration: self-calibration and
external calibration.
Self-Calibration
Self-calibration, also known as internal calibration, uses a software
command and requires no external connections. Self-calibration improves
measurement accuracy by compensating for variables such as temperature
that might have changed since the last external calibration. Self-calibration
retains the traceability of the external calibration and can be performed as
necessary to compensate for environmental changes.
External Calibration
External calibration is generally performed with a high-precision calibrator
at either NI or a metrology lab. This procedure replaces all calibration
constants in the EEPROM and is equivalent to a factory calibration at NI.
Because the external calibration procedure changes all EEPROM
constants, it invalidates the original calibration certificate. If an external
calibration is done with a traceable signal generator source, a new
calibration certificate can be issued. This document describes specific
programming steps for writing an external calibration procedure for the
NI 9205/9206.
Software and Documentation Requirements
This section describes the software and documentation required for both
self-calibration and external calibration.
Software
Install NI-DAQmx 8.1 or later on the calibration computer. NI-DAQmx
includes high-level function calls to simplify the task of writing software to
calibrate devices. You must have the proper device driver installed on the
calibration system before calibrating the device.
NoteNI recommends that you install the NI-DAQmx driver software before physically
installing the NI 9205/9206. NI-DAQmx, available at
and controls the NI 9205/9206.
NI-DAQmx supports a number of programming languages, including
LabVIEW, LabWindows
Visual Basic 6.0, Microsoft .NET, and Borland C++.
This step confirms whether the device was operating within its
specified range prior to calibration.
Initial Setup
4.Adjustment Procedure—Perform an external calibration that adjusts
the device calibration constants with respect to a known voltage
source.
5.Perform another verification to ensure that the device operates within
its specifications after adjustment.
The first four steps are explained in the following sections.
You must configure the device in Measurement & Automation Explorer
(MAX) to communicate with NI-DAQmx.
Complete the following steps to configure a device in MAX:
1.Install the NI-DAQmx driver software.
2.Make sure that no power is connected to the module terminals. If the
system is in a nonhazardous location, the chassis power can be on
when you install the module.
3.Insert the module into an available slot in the cDAQ-9172 chassis.
4.Launch MAX.
5.Right-click the device name and select Self-Test to ensure that the
device is working properly.
NoteWhen a device is configured with MAX, it is assigned a device name. Each function
call uses this device name to determine which DAQ device to calibrate. This document uses
dev1 to refer to the device name. In the following procedures, use the device name as it
appears in MAX.
Self-Calibration
Self-calibrate the device before completing the first verification, after the
device has warmed up for the recommended time period.
(DAQmx Self Calibrate VI), as shown in the following table, measures the
onboard reference voltage of the device and adjusts the self-calibration
constants to account for any errors caused by short-term fluctuations in the
operating environment. When you self-calibrate a device, no external
signal connections are necessary.
NI-DAQmx Function CallLabVIEW Block Diagram
DAQmxSelfCal
Call DAQmxSelfCal with the
following parameters:
deviceName:
NI 9205/9206 Calibration Procedure6ni.com
dev1
Verification Procedure
Verification determines how well the device is meeting its specifications.
By completing this procedure, you can see how the device has drifted over
time, which helps you determine the appropriate calibration interval for
your application. Table 4 in the Device Test Limits section shows all
acceptable settings for the device type. Throughout the verification process,
use Table 4 to determine if the device is operating within its specified range
prior to calibration. Because the NI 9205/9206 has many different ranges,
you must verify measurements for each available range on these modules.
Complete the following steps to test the performance of the device:
1.Refer to Table 1 for a list of the NI connection accessories for the
NI 9205/9206 and instructions on connecting the calibrator to the
device.
Table 1. NI Connection Accessories
DeviceConnection AccessoryConnection Instructions
NI 9205/9206NI 9940 36-position strain
relief & high voltage connector
kit
NI 9205 with
DSUB
NI 9933 37-pin connector kit,
screw terminal connector and
DSUB shell
2.Set the calibrator voltage to the Test Point value indicated in Table 4.
NI recommends that you verify all values, although you can save time
by verifying only the values used in your application.
3.If you use C function calls, create a task using
shown in the following table. If you use LabVIEW, skip this step. The
task is created in step 4 in LabVIEW.
Connect the positive output of the calibrator to
AI0 (pin 1) and the negative output of the
calibrator to AI8 (pin 19) and COM (pin 17). If
the calibrator has a guard connection, connect
that terminal to COM instead of connecting
COM to the negative output.
Connect the positive output of the calibrator to
AI0 (pin 1) and the negative output of the
calibrator to AI8 (pin 20) and COM (pin 10). If
the calibrator has a guard connection, connect
that terminal to COM instead of connecting
COM to the negative output.
DAQmxCreateTask, as
NI-DAQmx Function CallLabVIEW Block Diagram
Call DAQmxCreateTask with the
following parameters:
VI), as shown in the following table. Use Table 4 to determine the
minimum and maximum values for the device.
NI-DAQmx Function CallLabVIEW Block Diagram
Call DAQmxCreateAIVoltageChan
with the following parameters:
taskHandle:
taskHandle
physicalChannel: dev1/ai0
nameToAssignToChannel:
myVoltageChannel
terminalConfig:
DAQmx_Val_Cfg_Default
minVal:
maxVal:
–10.0
10.0
units: DAQmx_Val_Volts
customScaleName: NULL
5.Configure the timing properties for the voltage acquisition using
DAQmxCfgSampClkTiming (DAQmx Timing VI), as shown in the
following table.
NI-DAQmx Function CallLabVIEW Block Diagram
Call DAQmxCfgSampClkTiming
with the following parameters:
taskHandle:
taskHandle
source: NULL
rate: 100000.0
activeEdge:
DAQmx_Val_Rising
sampleMode:
DAQmx_Val_FiniteSamps
sampsPerChan: 10000
NI 9205/9206 Calibration Procedure8ni.com
6.Start the acquisition using DAQmxStartTask (DAQmx Start Task VI),
as shown in the following table.
NI-DAQmx Function CallLabVIEW Block Diagram
Call DAQmxStartTask with
the following parameter:
taskHandle:
taskHandle
7.Acquire 10,000 points of voltage data using DAQmxReadAnalogF64
(DAQmx Read VI), as shown in the following table.
NI-DAQmx Function CallLabVIEW Block Diagram
Call DAQmxReadAnalogF64 with the
following parameters:
taskHandle:
taskHandle
numSampsPerChan: –1
timeout: 10.0
fillMode:
DAQmx_Val_GroupByChannel
readArray: data
arraySizeInSamples: 10000
sampsPerChanRead: &read
reserved: NULL
8.Average the voltage values that you acquired. Compare the resulting
average to the Upper Limit and Lower Limit values in Table 4. If the
result is between these values, the device passes the test.
9.Clear the acquisition using
DAQmxClearTask (DAQmx Clear Task
VI), as shown in the following table.
NI-DAQmx Function CallLabVIEW Block Diagram
Call DAQmxClearTask with the following
parameter:
taskHandle:
taskHandle
10. Repeat steps 3 through 9 for all ranges and all values.
11. Disconnect the calibrator from the device or proceed to the Adjustment
Procedure section to adjust the analog input calibration constants.
The NI 9205/9206 adjustment procedure adjusts the analog input
calibration constants. At the end of each adjustment procedure, the new
constants are stored in the external calibration area of the device EEPROM.
These values are password-protected, which ensures that you do not
accidentally access or modify any calibration constants adjusted by the
metrology laboratory. The default password is
Complete the following steps to adjust the device with a calibrator:
1.Refer to Table 1 for a list of the NI connection accessories for the
2.Set the calibrator to output 4.0 V.
NI.
NI 9205/9206 and instructions on connecting the calibrator to the
device.
3.Open a calibration session on the device using
(DAQmx Initialize External Calibration VI), as shown in the following
table.
NI-DAQmx Function CallLabVIEW Block Diagram
Call DAQmxInitExtCal
with the following
parameters:
deviceName:
dev1
password: NI
calHandle: &calHandle
DAQmxInitExtCal
NI 9205/9206 Calibration Procedure10ni.com
4.Perform an external adjustment using DAQmxMSeriesCalAdjust
(DAQmx Adjust M-Series Calibration VI), as shown in the following
table.
NI-DAQmx Function CallLabVIEW Block Diagram
Call
DAQmxMSeriesCalAdjust
with the following
parameters:
calHandle:
calHandle
referenceVoltage: 4.0
5.Save the adjustment to the EEPROM using
DAQmxCloseExtCal
(DAQmx Close External Calibration), as shown in the following table.
This function also saves the date, time, and temperature of the
adjustment to the onboard memory.
NoteIf the device fails the calibration procedure, no constants are written to the
EEPROM.
NI-DAQmx Function CallLabVIEW Block Diagram
Call DAQmxCloseExtCal
with the following
parameters:
calHandle:
calHandle
action: DAQmx_Val_
Action_Commit
6.Disconnect the calibrator from the device.
The device is now calibrated with respect to the external source. After
calibrating the device, verify the analog input operation by repeating the
The values in the following tables are based on calibrated scaling
coefficients, which are stored in the onboard EEPROM. The following
calibration specifications are for 23 ±10 °C.
Table 2. Accuracy Summary
Nominal Range (V)
Absolute Accuracy
at Full Scale
1
(μV)
Random Noise,
σ (μVrms)
Sensitivity2 (μV)
±10323024096.0
±5173011646.4
±13902610.4
±0.2114104.0
1
Absolute accuracy values at full scale on the analog input channels assume the device is operating within 10 °C of the last
external calibration and are valid for averaging 100 samples immediately following internal calibration.
2
Sensitivity is the smallest voltage change that can be detected. It is a function of noise.
The Test Point is the voltage value that is input or output for verification
purposes. This value is broken down into two columns—Location and
Value. Location refers to where the test value fits within the test range.
Value refers to the voltage value to be verified. Max refers to maximum value, Min refers to minimum value, and Mid refers to mid-scale.
2-Year Limits
The 2-Year Limits column contains the Upper Limits and Lower Limits for
the test point value. That is, when the device is within its 2-year calibration
interval, the test point value should fall between these upper and lower limit
values.
Table 4. NI 9205/9206 Analog Input Values
Range (V)Tes t Po int2-Year Limits
MinimumMaximumLocationVal ue (V )Lower Limit (V)Upper Limit (V)
–1010Max9.9800009.9768369.983164
–1010Mid0.000000–0.0014070.001407
–1010Min–9.980000–9.983164–9.976836
–55Max4.9900004.9883034.991697
–55Mid0.000000–0.0007180.000718
–55Min–4.990000–4.991697– 4.988303
–11Max0.9980000.9976170.998383
–11Mid0.000000–0.0001680.000168
–11Min–0.998000–0.998383–0.997617
–0.2000.200Max0.1996000.1994890.199711
–0.2000.200Mid0.000000–0.0000560.000056
–0.2000.200Min–0.199600–0.199711–0.199489
NI 9205/9206 Calibration Procedure14ni.com
Where to Go for Support
The National Instruments Web site is your complete resource for technical
support. At
troubleshooting and application development self-help resources to email
and phone assistance from NI Application Engineers.
National Instruments corporate headquarters is located at
11500 North Mopac Expressway, Austin, Texas, 78759-3504.
National Instruments also has offices located around the world to help
address your support needs. For telephone support in the United States,
create your service request at
instructions or dial 512 795 8248. For telephone support outside the United
States, contact your local branch office:
National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation.
Refer to the Terms of Use section on ni.com/legal for more information about National
Instruments trademarks. Other product and company names mentioned herein are trademarks or trade
names of their respective companies. For patents covering National Instruments products, refer to the
appropriate location: Help»Patents in your software, the patents.txt file on your CD, or
ni.com/patents.