©
National Instruments Corporation
53
NI 5421/5441 Calibration Procedure
3.
Call
niFgen_SetAttributeViInt32
to set the analog path value
(niFgen property node:
Output Attributes»Analog Path
) using the
following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ANALOG_PATH
•
value
:
NIFGEN_VAL_FIXED_LOW_GAIN_ANALOG_PATH
4.
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
:
1700
5.
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
:
32767
6.
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
:
VI_FALSE
7.
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
:
0