NI 5402/5406 Calibration Procedure
50
ni.com
23. Commit the attribute values to the device by calling the niFgen
Commit VI.
24. Wait 500 ms for the output to settle.
25. Measure the analog output voltage with the onboard calibration ADC
by calling the niFgen Read CAL ADC VI.
LabVIEW Block Diagram
C/C++
Function Call
Call
niFgen_Commit
using the following
parameter:
vi
: The session handle
returned from
niFgen_InitExtCal
.
LabVIEW Block Diagram
C/C++
Function Call
Call
niFgen_Read
CalADC
using the
following parameters:
vi
: The session handle
returned from
niFgen_InitExtCal
.
numberOfReads
ToAverage
:
3
returnCalibratedValue
:
VI_FALSE
calADCValue
: Returns a
ViReal64 variable. The
variable passed by
reference through this
parameter receives the
voltage measured by
the onboard ADC. This
value is
cal
ADC
measurement 1
, which
is used in step 30.