38 | ni.com | NI VirtualBench Calibration Procedure
4. Call MSO Configure Analog Channel with the following parameters:
• Enable Channel = 
TRUE
• Channel = mso/1
• Vertical Coupling = DC
• Probe Attenuation = 1x
• Vertical Range = 20
• Vertical Offset = -18
5. Set the oscilloscope calibrator DC voltage output to the programmed vertical offset, 
or -18 V for this iteration.
6. Wait at least 5 seconds for the oscilloscope calibrator and DUT to settle.
7. Call 
MSO Run.
8. Call 
MSO Read. Calculate and record the average analog waveform. Save this value as 
V
meas_neg
. 
9. Call 
MSO Stop.
10. Call 
MSO Configure Analog Channel with the following parameters:
• Enable Channel = 
TRUE
• Channel = mso/1
• Vertical Coupling = DC
• Probe Attenuation = 1x
• Vertical Range = 20
• Vertical Offset = 18
11. Set the oscilloscope calibrator DC voltage output to the programmed vertical offset, or 
+18 V for this iteration.
12. Wait at least 5 seconds for the oscilloscope calibrator and DUT to settle.
13. Call 
MSO Run.
14. Call 
MSO Read. Calculate and record the average analog waveform. Save this value as 
V
meas_pos
.
15. Call 
MSO Stop.
16. Calculate the gain error as follows:
Where V
pos
 and V
neg
 are listed in Table 15.
Verify that this calculation falls within the limits in Table 15.
V
meas_pos
V
meas_neg
–()
V
pos
V
neg
–()
-------------------------------------------------------- - 1– 100%×