32
|
ni.com
|
NI 5412 Calibration Procedure
2. Call
niFgen_SetAttributeViReal64
to set the post-amplifier attenuation (niFgen
property node:
Calibration»Post-Amplifier Attenuation
) using the following
parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_POST_AMPLIFIER_ATTENUATION
•
value
:
0
3. 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
:
0
Repeat steps 4 through 6 for each of the 5 iterations listed in Table 8, 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 8
5. Take the following 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
:
2000
Table 8.
Attributes and Values for Main Path Pre-Amplifier Offset
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