© National Instruments Corporation 31 NI PXI-5422 Calibration Procedure
4. Call niFgen_SetAttributeViReal64 to set the gain (niFgen
property node: Arbitrary Waveform Output»Arbitrary
Waveform Gain) using the following parameters:
vi: The session handle returned from niFgen_init
channelName: "0"
attributeID: NIFGEN_ATTR_ARB_GAIN
value: The Gain value listed in Table 6 for the current iteration
5. Call niFgen_SetAttributeViInt32 to choose the positive
full-scale DC waveform (niFgen property node: Arbitrary
Waveform Output»Arbitrary Waveform Handle) using
the following parameters:
vi: The session handle returned from niFgen_init
channelName: "0"
attributeID: NIFGEN_ATTR_ARB_WAVEFORM_HANDLE
value: The wfmHandle from step 9 of the Verifying the Main
Analog Path Gain section (positive full-scale handle)
6. Call niFgen_InitiateGeneration (niFgen Initiate Generation VI)
to initiate the waveform generation using the following parameter:
vi: The session handle returned from niFgen_init
7. Measure the positive DC voltage out of the NI PXI-5422. Record the
positive DC voltage out measurement in the Measured Positive
Full-Scale Value column of Table 6.
8. Call niFgen_AbortGeneration (niFgen Abort Generation VI)
to abort the waveform generation using the following parameter:
vi: The session handle returned from niFgen_init
9. Call niFgen_SetAttributeViInt32 to choose the negative
full-scale DC waveform (niFgen property node: Arbitrary
Waveform Output»Arbitrary Waveform Handle) using
the following parameters:
vi: The session handle returned from niFgen_init
channelName: "0"
attributeID: NIFGEN_ATTR_ARB_WAVEFORM_HANDLE
value: The wfmHandle from step 11 of the Verifying the Main
Analog Path Gain section (negative full-scale handle)
10. Call niFgen_InitiateGeneration (niFgen Initiate Generation VI)
to initiate the waveform generation using the following parameter:
vi: The session handle returned from niFgen_init