22
|
ni.com
|
NI 5412 Calibration Procedure
14. Call
niFgen_AbortGeneration
(niFgen Abort Generation VI) to abort the waveform
generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
15. If any of the errors are greater than the
Calibration Test Limit
, perform an external
adjustment.
Verifying the AC Voltage Amplitude Absolute Accuracy
This test verifies the AC voltage amplitude absolute accuracy of the NI 5412 using a DMM. To
verify the AC accuracy of the NI 5412, complete the following steps:
1. Connect the NI 5412 CH 0 front panel connector to the DMM using the
SMB(m)-to-BNC(f) cable and the BNC(f)-to-banana(m) adapter. Connect the SMB
connector of the cable to CH 0 of the NI 5412. Connect the BNC connector of the cable to
the BNC(f)-to-banana(m) adapter. Connect the banana adapter to the DMM, maintaining
the correct polarity.
2. Call
niFgen_init
(niFgen Initialize VI) using the following parameters:
•
resourceName
: The name of the device that you want to verify. You can find this
name under Devices and Interfaces in MAX.
•
IDQuery
:
VI_TRUE
•
resetDevice
:
VI_TRUE
•
vi
: A pointer to a ViSession. The variable passed by reference through this parameter
receives the value that identifies the 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.
3. Call
niFgen_ConfigureChannels
(niFgen Configure Channels VI) using the
following parameters:
•
Channels
:
"0"
•
vi
: The session handle returned from
niFgen_init
4. Call
niFgen_ConfigureSampleRate
(niFgen Set Sample Rate VI) using the following
parameters:
•
vi
: The session handle returned from
niFgen_init
•
Sample Rate
: 100 Ms/s (
100000000
)
5. Call
niFgen_SetAttributeViReal64
to set the load impedance (niFgen property
node:
Output»Load Impedance
) using the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_LOAD_IMPEDANCE
•
value
:
1000000
6. Call
niFgen_ConfigureOutputMode
(niFgen Configure Output Mode VI) using the
following parameters:
•
vi
: The session handle returned from
niFgen_init
•
Output Mode
:
NIFGEN_VAL_OUTPUT_ARB
(Arbitrary Waveform)