NI 5412 Calibration Procedure
|
© National Instruments
|
43
7. 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
8. Call
niFgen_SetAttributeViReal64
to set the output impedance (niFgen property
node:
Basic Operation»Output Impedance
) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OUTPUT_IMPEDANCE
•
value
:
50
9. Call
niFgen_SetAttributeViBoolean
to enable the analog output (niFgen property
node:
Basic Operation»Output Enabled
) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OUTPUT_ENABLED
•
value
:
VI_TRUE
10. 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
11. Wait 500 ms for the output to settle.
12. Call
niFgen_SetAttributeViInt32
to set the calibration ADC input (niFgen
property node:
Calibration»Cal ADC Input
) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
""
(empty string)
•
attributeID
:
NIFGEN_ATTR_CAL_ADC_INPUT
•
value
:
NIFGEN_VAL_ANALOG_OUTPUT
13. 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
:
27232