2
|
ni.com
|
NI
5421/5441
Calibration
Procedure
Software
Calibrating the NI 5421 requires you to install NI-FGEN version 2.0 or later on the calibration
system. Calibrating the NI 5441 requires you to install NI-FGEN version 2.3 or later on the
calibration system. You can download NI-FGEN from the National Instruments website at
. NI-FGEN supports programming the
in the LabVIEW, LabWindows
™
/CVI
™
, and C application
development environments (ADEs). When you install NI-FGEN, you only need to install
support for the ADE that you intend to use.
For LabWindows/CVI, the NI-FGEN function panel (
niFgen.fp
) provides help about the
functions available. LabVIEW support is in the
niFgen.llb
file, and all calibration VIs appear
in the Functions palette.
Calibration functions are C function calls or LabVIEW VIs in NI-FGEN. The C function calls
are valid for any compiler capable of calling a 32-bit DLL. Many of the functions use constants
defined in the
niFgen.h
file. To use these constants in C, you must include
niFgen.h
in your
code when you write the calibration procedure. Refer to the following table for file locations.
The calibration process is described in the
and the
sections, including step-by-step instructions on calling the appropriate calibration
functions.
Table 1.
Calibration File Locations
File Name and Location
Description
IVI\Bin\niFgen_32.dll
The NI-FGEN library, which provides
the functionality for calibrating the NI 5421/5441.
IVI\Lib\msc\niFgen.lib
IVI\Lib\bc\niFgen.lib
Allows you to create applications that call
functions in the
niFgen_32.dll
:
• For Microsoft Visual C/C++, link to
msc\niFgen.lib
.
• For LabWindows/CVI, link to the library
appropriate to your current compatibility mode
(
msc
for Microsoft Visual C/C++).
IVI\Include\niFgen.h
A header file for the accessible functions in the
niFgen_32.dll
. You must include this file in
any C code that you write to call these functions.
<LabVIEW>\instr.lib\
niFgen\niFgen.llb
(LabVIEW)
Contains VIs that correspond to the functions in the
niFgen_32.dll
.
IVI\Drivers\niFgen\
niFgen.fp
(CVI)
Contains the function panels for the functions in the
niFgen_32.dll
.