2
|
ni.com
|
NI 5412 Calibration Procedure
Introduction
This document contains instructions for calibrating the NI 5412 arbitrary waveform generator.
This calibration procedure is intended for metrology labs. It describes specific programming
steps for writing an external calibration procedure for the NI 5412.
Refer to
ni.com/calibration
for additional information about calibration solutions from
National Instruments.
Software
Calibrating the NI 5412 requires installing NI-FGEN version 2.3 or later on the calibration
system. You can download NI-FGEN from the National Instruments web site at
ni.com/
updates
. NI-FGEN supports programming the
in the LabVIEW, LabWindows
™
/CVI
™
, and C application development
environments (ADEs). When you install NI-FGEN, you need to install support only for the ADE
that you intend to use.
NI-FGEN 2.3 or later includes all the functions and attributes necessary for calibrating the
NI 5412. 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. In this document, the
C function call is shown first, followed by the corresponding LabVIEW VI or NI-FGEN
LabVIEW property node, in parentheses. 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 Table 1 for file locations.
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 5412.
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.