Timebase Program - HP 54501A Programming Reference Manual

Digitizing oscilloscope
Hide thumbs Also See for 54501A:
Table of Contents

Advertisement

Timebase
Program
This sample program
demonstrates some
of
the commands in the
TIMEBASE
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
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
180
190
200
210
220
230
240
250
260
270
280
290
300
310
320
330
340
350
360
CLEAR
707
OUTPUT
707;":EOI
ON"
OUTPUT
707;"*RST"
OUTPUT
707;":AUTOSCALE"
WAIT 3
REAL
Sens,Tdelay
INTEGER J
OUTPUT
707;":BNC
PROBE"
OUTPUT
707;":ACQUIRE:TYPE
NORMAL"
OUTPUT
707;":TIMEBASE:RANGE
5E-4"
OUTPUT
707;":TIMEBASE:DELAY
0
OUTPUT
707;":TIMEBASE:REFERENCE
CENTER"
OUTPUT
707;":BEEPER"
OUTPUT
707;":SYSTEM:OSP
ENTER 2
•PRESS
ENTER
-
DELAY FROM TRIGGER EVENT
WILL
CHANGE'"
OUTPUT
707;":SYSTEM:DSP
Tde1ay=0
'The
following lines vary the
timebase delay
i
FOR
J=l
TO
18
OUTPUT
707;":TIMEBASE:DELAY
";Tde1ay
Tde1ay=Tde1ay+4E-5
WAIT
.3
NEXT
J
i
OUTPUT
707;":BEEPER"
OUTPUT
707;":SYSTEM:DSP
"PRESS ENTER
HORIZONTAL
TIME WILL CHANGE'"
ENTER 2
'Device clear
command.
•initializes
HP-IB
registers.
'Turn
on EOI
•Reset
instrument to
•known
state
'Autoscales the
unit
•Set
up Sens
and
Tdelay
!as
variables
'Set
up J
as
variable
!BNC
output to
probe
mode
'Real time
acquisition
'Set
timebase
to
50
us/div
'Set delay to zero
'Delay reference at
•center
of
graticule
'Set Tdelay to zero
Example Programs
B-4
HP
54501A
Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents