NI 5412 Calibration Procedure
|
© National Instruments
|
25
11. Call
niFgen_InitiateGeneration
(niFgen Initiate Generation VI) using the
following parameter:
•
vi
: The session handle returned from
niFgen_init
12. Wait 5 seconds for the output of the NI 5412 to settle.
13. Measure and record the output voltage amplitude with the DMM. This value is the
measured amplitude,
measuredVRMS
.
14. Calculate the peak amplitude error using the following equation:
expected VRMS
-
measured VRMS
=
error
15. Compare the output error to the test limits in Table 6 for the current iteration.
16. Call
niFgen_AbortGeneration
(niFgen Abort Generation VI) to abort the current
generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
17. If any of the errors are greater than the test limits, perform an external adjustment.
Verifying Frequency Response (Flatness)
This test verifies the frequency response (flatness) of the NI 5412 using a power meter. To verify
the flatness of the NI 5412, complete the following steps:
1. Connect the NI 5412 CH 0 front panel connector to the power meter using the required
adapter.
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
niFgenSetAttributeViBoolean
(niFgen property node:
Output»Output
Enabled
) to disable the NI 5412 output. Use the following parameters:
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OUTPUT_ENABLED
•
value
:
VI_FALSE
•
vi
: The session handle returned from
niFgen_init