Example Programs; Introduction - HP 54501A Programming Reference Manual

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

Advertisement

Example Programs
B
Introduction
This appendix contains
example programs using the command
set
for
the
HP
54501A.
In
general, they
use
the long form
of
the command with
alpha (as opposed to numeric) arguments with
each command having
a
separate output statement for clarity.
To
optimize speed, switch to the
concatenated short form numerics.
Throughout these
examples, the
HP
54501A
is
assumed to be at address
7,
the hardcopy devices
at
address
1,
and the system bus
at
700.
The input
signal
used
is
the
AC
CAL
signal from the rear panel of
the instrument.
This signal
is
connected to channel
1
with
a
10:1
probe.
All
programs were developed on an
HP
Series
200/300 controller using
HP BASIC
4.0. Several examples use the
BASIC command "ENTER
2."
This
pauses
program execution until
the
"ENTER"
key
is
depressed on the
controller. This
is
used to separate different blocks
in
the example
to
dramatize the features, allow for
user interaction,
or to wait for the
HP 54501A
to finish an
operation
such
as
a
hardcopy output or
an
acquisition.
HP
54501A
Programming
Example Programs
B-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents