EasyManuals Logo

Agilent Technologies 4155C User Manual

Agilent Technologies 4155C
312 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 #107 background imageLoading...
Page #107 background image
Agilent 4155C/4156C VXIplug&play Driver Users Guide, Edition 4 3-19
Programming Examples for Visual Basic Users
Synchronous Sweep Measurements
Sub sweep_meas(vi As Long, ret As Long, m() As Long) ’1
Dim vpri1 As Double ’3
Dim vpri2 As Double
Dim vsyn1 As Double
Dim vsyn2 As Double
Dim vcon1 As Double
Dim vcon2 As Double
Dim i1comp As Double
Dim i2comp As Double
Dim hold As Double
Dim delay As Double
Dim s_delay As Double
Dim p1comp As Double
Dim p2comp As Double
Dim nop As Long
vpri1 = 0
vpri2 = 3
i1comp = 0.01
vsyn1 = 0
vsyn2 = 3
i2comp = 0.05
hold = 0
delay = 0
s_delay = 0
p1comp = 0
p2comp = 0
nop = 11 ’29
Dim rep As Long ’31
Dim sc() As Double ’primary sweep output data
Dim md() As Double ’sweep measurement data
Dim st() As Long ’status data at each step
ReDim Preserve sc(nop) As Double
ReDim Preserve md(nop) As Double
ReDim Preserve st(nop) As Long ’38
Line Description
1 Beginning of the sweep_meas subprogram.
3 to 29 Declares variables, and defines the value.
31 to 38 Declares variables used to keep source data, measurement data
and status data. Also defines array size.

Table of Contents

Other manuals for Agilent Technologies 4155C

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies 4155C Specifications

General IconGeneral
BrandAgilent Technologies
Model4155C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals