EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>B1500A

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 #139 background imageLoading...
Page #139 background image
Agilent B1500 VXIplug&play Driver Users Guide, Edition 3 3-45
Programming Examples for Visual Basic Users
Pulsed Sweep Measurement
Sub sweep_meas(vi As Long, ret As Long, m() As Long) ’1
Dim vc1 As Double ’3
Dim vc2 As Double
Dim iccomp As Double
Dim ib1 As Double
Dim ib2 As Double
Dim vbcomp As Double
Dim hold As Double
Dim width As Double
Dim period As Double
Dim base As Double
Dim smpl As Double
Dim nop1 As Long
Dim nop2 As Long
vc1 = 0
vc2 = 3
iccomp = 0.05
ib1 = 0.00005 50 uA
ib2 = 0.00015 ’150 uA
vbcomp = 5
hold = 0.1
width = 0.001
period = 0.01
base = 0
smpl = 5
nop1 = 11
nop2 = 3
Dim i As Integer
Dim j As Integer
Dim n As Long
n = nop1 * nop2 ’33
Dim msg As String
Dim rep As Long ’35
Dim sc() As Double ’primary sweep output data
Dim md() As Double ’sweep measurement data
Dim st() As Long ’status data at each step
Dim tm() As Double ’time data at each step
Dim dib() As Double ’secondary sweep output data
ReDim Preserve sc(n) As Double
ReDim Preserve md(n) As Double
ReDim Preserve st(n) As Long
ReDim Preserve tm(n) As Double
ReDim Preserve dib(nop2) As Double ’45
Line Description
1 Beginning of the sweep_meas subprogram.
3 to 33 Declares variables, and defines the value.
35 to 45 Declares variables used to keep source data, measurement data,
status data, and time stamp data. Also defines array size.

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