20
|
ni.com
|
NI 5105 Calibration Procedure
13. Fetch a waveform from the device and perform a voltage average measurement using the
niScope Fetch Measurement Poly VI. Select the Measurement Scalar DBL instance of the
VI. This value is the
Measured Negative Voltage
used in step 14.
14. Calculate the error in the vertical gain as a percentage of input using the following formula:
where
a
= the
Measured Positive Voltage
b
= the
Measured Negative Voltage
c
= the applied
Positive Input Voltage
d
= the applied
Negative Input Voltage
Compare the resulting percent error to the
Published Specifications
listed in Table 6.
15. Repeat steps 2 through 14 for each iteration listed in Table 6.
16. Move the calibrator test head to the next device input channel and repeat steps 2 through 15
for each of the remaining channels, updating the
channelList
parameter with the
appropriate channel number.
17. End the session using the niScope Close VI.
LabVIEW VI
C/C++ Function Call
Call
niScope_Fetch
Measurement
with the
following parameters:
timeout
:
1.0
vi
: The instrument handle from
niScope_init
channelList
: The name of the
channel being tested
scalarMeasFunction
:
NISCOPE_
VAL_VOLTAGE_AVERAGE
LabVIEW VI
C/C++ Function Call
Call
niScope_close
with the
following parameter:
vi
: The instrument handle from
niScope_init
error
a b
–
c d
–
------------
1
–
100
×
=