National Instruments NI PXI-5422 Portable Generator User Manual


 
NI PXI-5422 Calibration Procedure 24 ni.com
14. 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 4 for the current iteration
15. 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 (positive full-scale handle)
16. Call
niFgen_InitiateGeneration (niFgen Initiate Generation VI)
to initiate the waveform generation using the following parameter:
vi: The session handle returned from
niFgen_init
17. Measure the DC voltage out of the NI PXI-5422. Record this value in
the Measured Positive Full-Scale value column of Table 4.
18. Subtract the Ideal Positive Full-Scale value from the Measured
Positive Full-Scale value and record the result under Error Positive
Full-Scale. The Error Positive Full-Scale value should be less than
or equal to the limit you are using.
19. Call
niFgen_AbortGeneration (niFgen Abort Generation VI) to
abort the waveform generation using the following parameter:
vi: The session handle returned from
niFgen_init
20. 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 (negative full-scale handle)
21. Call
niFgen_InitiateGeneration (niFgen Initiate Generation VI)
to initiate the waveform generation using the following parameter:
vi: The session handle returned from
niFgen_init
22. Measure the DC voltage out of the NI PXI-5422. Record this value in
the Measured Negative Full-Scale column of Table 4.