National Instruments NI PXI-5422 用户手册

下载
页码 63
© National Instruments Corporation
45
NI PXI-5422 Calibration Procedure
Adjusting the Main Path Post-Amplifier Gain and Offset
1.
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
2.
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
3.
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
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
2000
5.
Repeat steps 6 through 9 for each of the eight iterations listed in 
Table 9, changing the Analog PathPost-Amplifier Attenuation, and 
Current Configuration values for each iteration.