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 #151 background imageLoading...
Page #151 background image
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 3-57
Programming Examples for Visual Basic Users
Breakdown Voltage Measurement
Sub vbd_meas(vi As Long, ret As Long, pins() As Long) ’1
Dim vstart As Double
Dim vstop As Double
Dim vb As Double
Dim ve As Double
Dim iccomp As Double
Dim ibcomp As Double
Dim iecomp As Double
Dim hold As Double
Dim delay As Double
vstart = 0
vstop = 100 interlock cable must be connected.
vb = 0.7
ve = 0
iccomp = 0.005
ibcomp = 0.01
iecomp = 0.1
hold = 0
delay = 0 ’19
Dim meas As Double ’21
Dim status As Long
ret = agb1500_force(vi, pins(0), agb1500_VF_MODE, 0, ve, iecomp, 0) ’24
’ret = agb1500_force(vi, pins(1), agb1500_VF_MODE, 0, vb, ibcomp, 0)
ret = agb1500_setBdv(vi, pins(2), 0, vstart, vstop, iccomp, hold, delay)
check_err vi, ret
ret = agb1500_measureBdv(vi, agb1500_SHORT_INTERVAL, meas, status) ’28
check_err vi, ret
ret = agb1500_zeroOutput(vi, agb1500_CH_ALL) ’30
check_err vi, ret
display_data meas, status, vi, ret, pins()
End Sub
Line Description
1 Beginning of the vbd_meas subprogram.
3 to 19 Declares variables for source channels, and defines the value.
21 to 22 Declares variables for the measurement data and the status data.
24 to 26 Applies voltage to device, and sets the quasi pulsed voltage source.
28 Performs the quasi pulsed spot measurement (breakdown voltage measurement).
30 Sets the specified port to the zero output state.
27, 29, and 31 Calls the check_err subprogram (shown in Table 3-1) to check if an error status is
returned for the previous line.
32 Calls the display_data subprogram (shown below) to display measurement data.
33 End of the vbd_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