Waveform Template Program - HP 54501A Programming Reference Manual

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

Advertisement

Waveform
Template
Program
10
CLEAR
707
20
30
OUTPUT
707;
40
OPTION BASE 0
50
OUTPUT
707,
60
70
OUTPUT
707
80
WAIT 3
90
DIM Preainb1e$
[200]
100
DIM
Preambfl
110
!
120
OUTPUT
707;
130
OUTPUT
707
140
OUTPUT
707
150
OUTPUT
707
160
OUTPUT 707
170
!
180
!
190
!
200
OUTPUT
707;":TIMEBASE
210
OUTPUT
707
220
OUTPUT
707
230
OUTPUT
707;":TIMEBASE:REFERENCE
CENTER'
240
250
!
260
OUTPUT 707
270
OUTPUT
707
280
!
290
OUTPUT
707
300
OUTPUT
707
310
OUTPUT
707
320
OUTPUT
707
330
340
!
350
OUTPUT
707;":DISPLAY:CONNECT
ON"
360
":EOI
ON"
"*RST"
"•.AUTOSCALE"
"
"
"
"
"
":TIMEBASE:MODE
TRIGGERED"
":TIMEBASE:RANGE
5E-4"
"
"
"
"
"
"
10)
BNC PROBE"
CHANNELl:PROBE
10"
CHANNELl:RANGE
1.6"
CHANNELl:OFFSET
-.4"
CHANNELl:COUPLING DC"
TRIGGER
TRIGGER
ACQUIRE
ACQUIRE
ACQUIRE
ACQUIRE
This sample pro
theHP54501At
This program
as
instrument
is
cor
:DELAY 0"
LEVEL
-.4"
MODE EDGE"
COMPLETE
100
TYPE AVERAGE
COUNT
4"
POINTS
512"
Example Programs
B-12
This sample program demonstrates how to use some
of
the commands
in
the
HP
54501A
to make
a
waveform template for comparing waveforms.
This program
assumes
that the
AC CAL
signal from
the
rear panel of
the
instrument
is
connected to channel
1
through
a
10:1
probe.
(Device
clear
command.
'initializes
HP-IB
registers.
'Turn
on EOI
!Se1ect
default option
base
'Reset instrument to
'known
state
!Autosca1es
the unit
!BNC
output to probe
mode
'Set
probe
attenuation to
10:1
!Set
vertical
range
to 1.6
V
'Set
offset
to
-0.4
V
'Set coupling to
DC
!Set delay
to zero
(Triggered
timebase
mode
'50
uS
per
division
'Display reference
!to center
screen
'Set
trigger
level to
-.4
'Edge
triggering
!100X
completion
criteria
!Set
display
mode
to
average
!4
values averaged
'512 points per
'acquisition record
!Turn
on
connect-the-dots
'function
HP 54501A
Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents