NI 5412 Calibration Procedure
|
© National Instruments
|
35
Repeat steps 4 through 6 for each of the 5 iterations listed in Table 9, changing the
Pre-Amplifier
Attenuation
and
Current Configuration
values for each iteration.
4. Call
niFgen_SetAttributeViReal64
to set the pre-amplifier attenuation (niFgen
property node:
Calibration»Pre-Amplifier Attenuation
) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_PRE_AMPLIFIER_ATTENUATION
•
value
: The
Pre-Amplifier Attenuation
value for the current iteration from Table 9.
5. Call the following functions and take voltage measurements at the NI 5412 CH 0 front
panel connector into a high-impedance load:
a. Call
niFgen_SetAttributeViInt32
to set the gain DAC value (niFgen property
node:
Calibration»Gain DAC Value
) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_GAIN_DAC_VALUE
•
value
:
1500
b. 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
:
25233
c. 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
d. Wait 500
ms for the output to settle.
e. Use the DMM to measure the voltage output by the device. This measurement is
measurement 0
, which is used in step 6.
Table 9.
Attributes and Values for Main Path Pre-Amplifier Gain
Iteration
Pre-Amplifier
Attenuation
Current Configuration
1
0
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_0DB
2
3
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_3DB
3
6
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_6DB
4
9
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_9DB
5
12
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_12DB