National Instruments NI PXI-5422 Portable Generator User Manual


 
© National Instruments Corporation 35 NI PXI-5422 Calibration Procedure
Initializing the External Calibration Session
Call niFgen_InitExtCal (niFgen Init Ext Cal VI) to open an NI-FGEN
external calibration session using the following parameters:
resourceName: The name of the device you want to calibrate.
This name can be found under Devices and Interfaces in MAX.
password: The password required to open an external calibration
session. If this password has not been changed since manufacturing,
the password is
NI.
vi: A pointer to a ViSession. The variable passed by reference through
this parameter receives the value that identifies the external calibration
session created by this function. This value acts as the session handle
and is passed as the first parameter to all subsequent NI-FGEN
functions.
Adjusting the Analog Output
The analog output adjustment procedure has several sub-procedures that
adjust the following:
Main path pre-amplifier offset
Main path pre-amplifier gain
Main path post-amplifier gain and offset
Direct path gain
In each of these sub-procedures, you put the device in several
configurations and take several output measurements. You then pass
these measurements to NI-FGEN, which determines the calibration
constants for the device.
Initializing Analog Output Calibration
1. Call niFgen_InitializeAnalogOutputCalibration (niFgen
Initialize Analog Output Calibration VI) using the following
parameter:
vi: The session handle returned from
niFgen_InitExtCal
2. Call
niFgen_WriteBinary16AnalogStaticValue (niFgen Write
Binary 16 Analog Static Value VI) to set the main DAC value using
the following parameters:
vi: The session handle returned from
niFgen_InitExtCal
channelName: "0"
value: 0