© National Instruments Corporation 53 NI PXI-5422 Calibration Procedure
4. Call niFgen_SetAttributeViReal64 to set the offset (niFgen
property node: Arbitrary Waveform Output»Arbitrary Waveform
Offset) using the following parameters:
vi: The session handle returned from niFgen_InitExtCal
channelName: "0"
attributeID: NIFGEN_ATTR_ARB_OFFSET
value: 0
Note You can adjust this value based on which measuring device you use.
5. Call niFgen_SetAttributeViBoolean to set the analog filter state
(niFgen property node: Output Attributes»Analog Filter Enabled)
using the following parameters:
vi: The session handle returned from niFgen_InitExtCal
channelName: "0"
attributeID: NIFGEN_ATTR_ANALOG_FILTER_ENABLED
value: VI_TRUE
6. Call niFgen_SetAttributeViReal64 to set the output impedance
(niFgen property node: Basic Operation»Output Impedance) using
the following parameters:
vi: The session handle returned from niFgen_InitExtCal
channelName: "0"
attributeID: NIFGEN_ATTR_OUTPUT_IMPEDANCE
value: 50
7. Call niFgen_SetAttributeViBoolean to enable the analog output
(niFgen property node: Basic Operation»Output Enabled) using the
following parameters:
vi: The session handle returned from niFgen_InitExtCal
channelName: "0"
attributeID: NIFGEN_ATTR_OUTPUT_ENABLED
value: VI_TRUE
8. Generate an array of waveform samples.
Each waveform should have 20 samples per cycle, with a total of
500 samples and 25 sine wave cycles. Because you set the sample rate
to 200 MS/s and because there are 20 samples per cycle, the resulting
waveform is a 10 MHz sine wave. The sample values of this waveform
must fall between –1.0 and 1.0.