HP 54501A Programming Reference Manual page 24

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

Advertisement

To
execute more than one function within the same subsystem
a
semi-colon
is used
to separate the functions:
:
<
subsystem
>:
<
function
>
<
separator
>
<
data
>;
<
function
>
<
separator
>
<data
>
<
terminator
>
(For
example
:SYSTEM:LONGFORM ON;HEADER ON)
Identical function mnemonics
can be used
for more than
one subsystem.
For
example, the function mnemonic
RANGE
may be used to change the
vertical range or to change the horizontal range:
:CHANNEL1:RANGE
.4
-
sets
the vertical range
of
channel
1
to 0.4
volts
full
scale.
:TIMEBASE:RANGE
1
-
sets
the horizontal
timebase to
1
second full scale.
CHANNELl
and
TIMEBASE
are subsystem
selectors and
determine
which range
is
being modified.
Common Command Header. Common command
headers control
IEEE
488.2 functions within the instrument (such
as
clear status, etc.).
Their
syntax
is:
-
<
command header
>
<
terminator
>
No
space or separator
is
allowed between the
asterisk
and the command
header. *CLS
is
an example
of
a
common command header.
Introduction to Programming an Oscilloscope
HP
54501A
1-6
Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents