EasyManuals Logo

Agilent Technologies B1500A User Manual

Agilent Technologies B1500A
208 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #154 background imageLoading...
Page #154 background image
3-60 Agilent B1500 VXIplug&play Driver Users Guide, Edition 3
Programming Examples for Visual Basic Users
Leakage Current Measurement
Sub spot_meas(vi As Long, ret As Long, pins() As Long) ’1
Dim vstart As Double
Dim vstop As Double
Dim vg As Double
Dim idcomp As Double
Dim igcomp As Double
Dim hold As Double
Dim delay As Double
Dim meas As Double
Dim status As Long
vstart = -5
vstop = 5
idcomp = 0.05
vg = 0
igcomp = 0.01
hold = 0.1
delay = 0.001 ’17
ret = agb1500_force(vi, pins(3), agb1500_VF_MODE, 0, 0, 0.05, 0) ’19
ret = agb1500_force(vi, pins(2), agb1500_VF_MODE, 0, 0, 0.05, 0)
ret = agb1500_force(vi, pins(1), agb1500_VF_MODE, 2, vg, igcomp, 0)
ret = agb1500_setIleak(vi, pins(0), 0, vstop, idcomp, vstart, hold, delay) ’22
check_err vi, ret
ret = agb1500_measureIleak(vi, pins(0), agb1500_SHORT_INTERVAL, meas, status) ’24
check_err vi, ret
ret = agb1500_zeroOutput(vi, agb1500_CH_ALL) ’26
check_err vi, ret
display_data meas, status, vi, ret, pins() ’28
End Sub
Line Description
1 Beginning of the spot_meas subprogram.
3 to 17 Declares variables, and defines the value.
19 to 21 Applies voltage to device.
22 Sets the quasi pulsed voltage source.
24 Performs the quasi pulsed spot measurement (leakage current measurement).
26 Sets the specified port to the zero output state.
23, 25, and 27 Calls the check_err subprogram (shown in Table 3-1) to check if an error status is
returned for the previous line.
28 Calls the display_data subprogram (next page) to display measurement data.
29 End of the spot_meas subprogram.

Table of Contents

Other manuals for Agilent Technologies B1500A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies B1500A and is the answer not in the manual?

Agilent Technologies B1500A Specifications

General IconGeneral
BrandAgilent Technologies
ModelB1500A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals