©
National Instruments Corporation
39
NI 5421/5441 Calibration Procedure
3.
Call
niFgen_SetAttributeViInt32
to set the offset DAC value
(niFgen property node:
Calibration»Offset DAC Value
) using the
following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OFFSET_DAC_VALUE
•
value
:
32000
Repeat steps 4 through 7 for each of the 10 iterations listed in Table 8,
changing the
Analog Filter Enable
,
Pre-Amplifier Attenuation
, and
Current Configuration
values for each iteration.
4.
Call
niFgen_SetAttributeViBoolean
to set the analog filter state
(niFgen property node:
Output Attributes»Analog Filter Enabled
)
using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ANALOG_FILTER_ENABLED
•
value
: The
Analog Filter Enable
value for the current iteration
from Table 8
Table 8.
Attributes and Values for Main Path Pre-Amplifier Gain
Iteration
Analog Filter
Enable
Pre-Amplifier
Attenuation
Current Configuration
1
VI_FALSE
0
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_0DB
2
VI_FALSE
3
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_3DB
3
VI_FALSE
6
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_6DB
4
VI_FALSE
9
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_9DB
5
VI_FALSE
12
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_12DB
6
VI_TRUE
0
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_0DB
7
VI_TRUE
3
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_3DB
8
VI_TRUE
6
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_6DB
9
VI_TRUE
9
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_9DB
10
VI_TRUE
12
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_12DB