38
|
ni.com
|
NI 5412 Calibration Procedure
4. 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
: The
Analog Path
value for the current iteration from Table 10.
5. 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
: The
Post-Amplifier Attenuation
value for the current iteration from Table 10.
6. Call the following functions and take voltage measurements at the NI 5412 CH 0 front
panel connector into a high-impedance load:
a. 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
:
50000
b. 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
c. Wait 500 ms for the output to settle.
d. Use the DMM to measure the voltage generated by the device. This measurement is
measurement 0
, which is used in step 7.
e. 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
:
15000
f.
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
g. Wait 500 ms for the output to settle.
h. Use the DMM to measure the voltage generated by the device. This measurement is
measurement 1
, which is used in step 7.