Numeric Variables - HP 54501A Programming Reference Manual

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

Advertisement

Numeric
Variables
If
you do not need to
see
the headers when
a
numeric value
is
returned
from the
instrument, then you can
use
a
numeric variable. When you
are
receiving
numeric data into
a
numeric variable, turn
the headers off.
Note
When you
are receiving
numeric data
into numeric variables, the
headers should be turned
off.
Otherwise the headers
may
cause
misinterpretation
of
returned data.
The following example
shows
the
data being returned
to
a
numeric
variable.
10
OUTPUT 707;":SYSTEM:HEADER
OFF"
20
OUTPUT
707;":CHANNEL1:RANGE?"
30
ENTER
707;Rang
40
PRINT
Rang
50
END
After
running this
program,
the controller displays:
.1
HP 54501A
Introduction to Programming an Oscilloscope
Programming
1-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents