NI 5412 Calibration Procedure
|
© National Instruments
|
45
23. Call
niFgen_SetAttributeViBoolean
to disable 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_FALSE
24. 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
25. Wait 500 ms for the output to settle.
26. Call
niFgen_ReadCalADC
(niFgen Read CAL ADC VI) to measure the analog output
voltage with the onboard calibration ADC using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
numberOfReadsToAverage
:
3
•
returnCalibratedValue
:
VI_FALSE
•
calADCValue
: A ViReal64 variable. The variable passed by reference through this
parameter receives the voltage measured by the onboard calibration ADC. This value
is
cal ADC measurement 1
, which is used in step 31.
27. 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
28. 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
29. Wait 500 ms for the output to settle.
30. Use the DMM to measure the NI 5412 voltage output directly into the DMM (into a
high-impedance load). This measurement is
external measurement 1
, which is used
in step 31.
31. Call
niFgen_CalAdjustCalADC
(niFgen Cal Adjust Cal ADC VI) using the following
parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
voltagesMeasuredExternally
: An array containing two elements—the two voltages
(
external measurement 0
,
external measurement 1
) that you measured
with the DMM in the order that you measured them.
•
voltagesMeasuredWithCalADC
: An array containing two elements—the
two voltages (
cal ADC measurement 0
,
cal ADC measurement 1
) that you
measured with the onboard calibration ADC in the order that you measured them.