EasyManua.ls Logo

HP E1440A - Page 40

HP E1440A
192 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Note
I
We will not program markers because we do not need
them.
r
After
*RST
the
L1ST:FREQ:MARK:STAT
list contains one entry
with the value
OFF.
This entry can be thought of as being replicated
as many times as imposed by the other non-singular lists. We will
store the parameters
in
data lines.
The
first data line is the sweep sequence as a string and the number
of intervals is defined by the succeeding data lines.
10 List-data:
!
20
!
30 DATA "(1:4)",4
40
!
50
!
The following 4 data lines contain
:
60
!
start
,
stop
,
"spacing"
,
time
70 DATA lE6
,
13E6
,
"LIN"
,
1
80 DATA 13E6
,
13E6
,
"LIN"
,
2
90 DATA 13E6
,
1E6
,
"LIN"
,
1
100 DATA 1E6
,
13E6
,
"LOG"
,
3
110
!
120
!
some variables
130
!
140
!
first the arrays for the
list
parameters
150
!
160 REAL
Lstart
(1
:
10)
!
start
frequencies
170 REAL Lstop(1: 10)
!
stop frequencies
180 REAL Ltime (1
:
10)
!
dwell times
190
DIM
Lspac$ (1
:
10) C51
!
spacing modes
200
DIM
Lseq$[801
!
sequence
210
DIM
Opc-resp$ C31
!
for entering the *OPC? response
220
!
230 INTEGER
I
!
the famous all purpose
I
240 INTEGER No-of-int
!
number of intervals
250
!
260 REAL El440
!
for the instruments HP-IB address.
270
!
Notice that
an
INTEGER
is
too small to hold
280
!
a HP-IB address with secondary addressing.
290
!
300 E1440=70911
!
assumed slot
0
commander
is
connected to
310
!
HP-IB interface with select code 7,
320
!
primary
HP-IB
address of slot 0 commander
is
9
330
!
and logical address of El440
is
11
(secondary
340
!
HP-IB address
is
logical add shifted left 3 bits)
350
!
360
!
lets fill the parameter arrays first
370
!
380 RESTORE List-data
!
not necessary in a program as short as this
3-8
Using
the
HP
E1440A
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals