3-16 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Programming Examples for Visual Basic Users
Pulsed Spot Measurement
ret = agb1500_measureP(vi, pins(0), agb1500_IM_MODE, 0, meas,
status, 0) ’31
check_err vi, ret
ret = agb1500_zeroOutput(vi, agb1500_CH_ALL) ’34
check_err vi, ret
display_data meas, status, vi, ret, pins() ’37
End Sub ’39
Line Description
31 Performs the pulsed spot measurement.
34 Sets the specified port to the zero output state.
32 and 35 Calls the check_err subprogram (shown in Table 3-1) to check
if an error status is returned for the previous line.
37 Calls the display_data subprogram (next page) to display
measurement data.
39 End of the spot_meas subprogram.