46
|
ni.com
|
NI 5421/5441 Calibration Procedure
•
attributeID
:
NIFGEN_ATTR_GAIN_DAC_VALUE
•
value
:
1800
c.
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
d.
Wait 500 ms for the output to settle.
e.
Use the DMM to measure the voltage generated by the device. This measurement is
measurement 0
, which is used in step 12.
f.
Call
niFgen_SetAttributeViInt32
to set the gain DAC value (NI-FGEN Gain
DAC Value property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_GAIN_DAC_VALUE
•
value
:
2600
g.
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
h.
Wait 500 ms for the output to settle.
i.
Use the DMM to measure the voltage generated by the device. This measurement is
measurement 1
, which is used in step 12.
j.
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
: -
32767
k.
Call
niFgen_SetAttributeViInt32
to set the gain DAC value (NI-FGEN Gain
DAC Value property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_GAIN_DAC_VALUE
•
value
:
1500
l.
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
m. Wait 500 ms for the output to settle.
n.
Use the DMM to measure the voltage generated by the device. This measurement is
measurement 2
, which is used in step 12.
o.
Call
niFgen_SetAttributeViInt32
to set the gain DAC value (NI-FGEN Gain
DAC Value property) using the following parameters: