Longform - HP 54501A Programming Reference Manual

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

Advertisement

LONGform
LONGform
command/query
The
:SYSTEM:LONGFORM
command
sets
the longform variable which
tells
the
HP
54501A how to format query
responses.
If
the
LONGFORM
command
is set
to
OFF,
command headers and alpha arguments are
sent
from
the
HP
54501A
in the short
form.
If
the
LONGFORM
command
is
set
to
ON,
the whole
word will
be output.
This command does not
affect
the input data
messages
to
the
HP
54501A. Headers and arguments may
be sent to the
HP
54501A
in
either the longform or shortform regardless
of
how the
LONGFORM
command
is set.
For
more information refer to
the
HEADER
command in
this
chapter.
The
LONGFORM
query returns the state
of
the
LONGFORM
command.
Note
Even though
the
Longform
command
can
be
sent
using an alpha
or numeric
argument, the response
is
always
a
1
or
0
(I
for ON,
0
for
OFF).
Command
Syntax:
Example:
Query
Syntax:
Returned Format:
Example:
:SYSTem:LONGform
{{
ON
|
1
} | {
OFF
|
0
}}
OUTPUT 707;'-:SYST:LONG ON"
:SYSTem:LONQform?
[:SYSTem:LONGform]
{1 |
0}<NL>
Where:
1
::=
ON
0::=
OFF
DIM Long$[30]
OUTPUT
707;":SYSTEM:LONGFORM?"
ENTER 707;
Long$
PRINT Long$
HP 54501A
Programming
System Subsystem
7-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents