EasyManua.ls Logo

HP 54501A - Measurement Setup Program

HP 54501A
386 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...
Measurement
Setup
Program
This sample
program
demonstrates
some
of
the
commands
in the
MEASURE
subsystem.
The
program
assumes
that
the AC CAL
signal
from
the
rear
panel
of
the
instrument
is
connected
to
channel
1
through
a
10:1
probe.
10 CLEAR
707
20
30
!
40
OUTPUT
707;":EOI
ON"
50
OUTPUT
707;"*RST"
60
70
DIM
Measure$[400]
80
OUTPUT
707
90
OUTPUT
707
100
WAIT 3
110
OUTPUT
707
120
OUTPUT
707
130
OUTPUT
707
140
!
150
OUTPUT
707
160
OUTPUT
707
170
OUTPUT
707
180
!
190
OUTPUT
707
200
OUTPUT
707
210
!
220
OUTPUT
707
230
OUTPUT
707
240
OUTPUT
707
250
OUTPUT
707
260
OUTPUT
707
270
!
280
OUTPUT
707
290
300
OUTPUT
707
310
OUTPUT
707
320
330
340
OUTPUT
707;":BEEPER"
350
OUTPUT
707;":SYSTEM:OSP
'PRESS
ENTER
360
ENTER 2
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
SYSTEM:HEADER
ON"
AUTOSCALE"
BNC
PROBE"
ACQUIRE:TYPE
NORMAL"
TIMEBASE:RANGE
2E-3"
CHANNELl:PROBE
10"
CHANNEL1:RAN6E
1.2"
CHANNELl:OFFSET
-.4"
TRIGGER:MODE
EDGE"
TRIGGER:SLOPE POSITIVE"
DISPLAY:FORMAT
1"
VIEW
CHANNELl"
BLANK
CHANNEL2"
01 SPLAY:VMARKER
ON"
DOSPLAY:TMARKER
ON"
MEASURE:SOURCE
CHANNEL!'
MEASURE:VSTART
-.4"
MEASURE:VSTOP
-.4"
Example
Programs
B-6
•Device
clear
command.
'Initializes
HP-IB
registers.
'Turn on
EOI
'Reset
instrument
to
!known
state
'Turn headers
on
for
queries
!Autosca1es the
unit
!BNC
output
to
probe
mode
'Set
display
mode
to
normal
!200
uS
per
division
!Attenuation to
10:1
(Channel
1
to
1.2
V
full
scale
!Channel
centered
at
-.4
V
!Edge
triggering
'Trigger on
positive
edge
!Fu11
screen
display
!Turn
on
Vmarkers
'Turn on Tmarkers
'Channel
1
is the
'measurement
source
'Sets
voltage
markers
to
!-0.4
V.
This
will
be
used as
!a
reference for
the
edge
•find
function.
TIME
MARKERS MOVE
TO SIGNAL
EDGES'"
'This
causes
a
pause
in
HP
54501A
Programming

Table of Contents

Other manuals for HP 54501A

Related product manuals