NI 5421/5441 Calibration Procedure
|
©
National
Instruments
|
45
6.
Call
niFgen_SetAttributeViReal64
to set the postamplifier attenuation (NI-FGEN
Post-Amplifier Attenuation property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_POST_AMPLIFIER_ATTENUATION
•
value
:
0
7.
Call
niFgen_SetAttributeViReal64
to set the output impedance (NI-FGEN Output
Impedance property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OUTPUT_IMPEDANCE
•
value
:
50
8.
Call
niFgen_SetAttributeViBoolean
to enable the analog output (NI-FGEN Output
Enabled property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OUTPUT_ENABLED
•
value
:
VI_TRUE
9.
Call
niFgen_SetAttributeViInt32
to set the analog path value (NI-FGEN Analog
Path property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ANALOG_PATH
•
value
:
NIFGEN_VAL_DIRECT_ANALOG_PATH
10. Call
niFgen_Commit
(niFgen Commit VI) to commit the attribute values to the device
using the following parameter:
•
vi
: The session handle returned from
niFgen_InitExtCal
11. Complete the following steps to take the voltage measurements at the NI 5421/5441 CH 0
front panel connector into a high-impedance load:
a.
Call
niFgen_WriteBinary16AnalogStaticValue
(niFgen Write Binary 16
Analog Static Value VI) to set the main DAC value using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
value
:
32767
b.
Call
niFgen_SetAttributeViInt32
to set the gain DAC value (NI-FGEN Gain
DAC Value property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"