![background image](http://html2.mh-extra.com/html/national-instruments/ni-5402/ni-5402_calibration-procedure_3434967047.webp)
©
National Instruments Corporation
47
NI 5402/5406 Calibration Procedure
14. Commit the attribute values to the device by calling the niFgen
Commit VI.
15. Wait 500 ms for the output to settle.
16. 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 0
, which