Chapter 1
Introduction—Document Scope
1-4
ni.com
Calibration Software
The calibration procedure requires the latest version of the NI-DAQ driver
on the calibration system. This driver configures and controls the NI 54
XX
devices. You can download NI-DAQ from the NI Web site,
ni.com/softlib.nsf
. NI-DAQ supports programming all NI signal
sources using a number of languages, including LabVIEW, Measurement
Studio, Microsoft Visual C++, and Microsoft Visual Basic. When you
install NI-DAQ, you only need to install support for the programming
language that you intend to use.
You also need a copy of the
niArbCal.dll
to calibrate your NI 54
XX
device. To write calibration procedures in C, you must include the
niArbCal.h
file in the code that calls the calibration functions, and you
must link the
niArbCal.lib
file into the build of your executable. Copy
this DLL to the system directory, which is generally
c:\windows\system
on 9
x
systems and
c:\winnt\system32
on NT systems.
niArbCal.dll
provides calibration functionality that does not reside in the standard
NI-DAQ driver. This functionality includes protecting the calibration
constants and updating the calibration date. You can access the functions
in this DLL through any 32-bit compiler or LabVIEW.
To write calibration procedures in LabVIEW, you must use the VIs
included in the
ni54xx_cal.llb
. This library contains a VI for each
function exported by the
niArbCal
DLL, as well as a few useful others.
After installation, all of these VIs appear within the
ni54xx
palette, under
the Instrument Drivers section of the Functions palette. The
ni54xx
palette
also contains example VIs, which illustrate the use of the calibration
functions.
To write calibration procedures in Visual Basic, you must first configure
your project to reference the
niArbCal
DLL. To do so, select
Project»
References
from the menu bar, click
Browse
, navigate to your system
directory, find and select
niArbCal.dll
, click
Open
, then click
OK
.
You will then be able to use the
niArbCal
functions in your code and look
up the functions, parameters, and constants in the Object Browser.