Header - HP 54501A Programming Reference Manual

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

Advertisement

HEADer
HEADer
command/query
The :SYSTEM:HEADER
command
tells
the instrument whether or not
to output
a
header for query
responses.
When
HEADER
is set
to
ON,
query responses will include the command header.
The
HEADER
query returns
the state
of
the
HEADER
command.
Command
Syntax:
:SYSTem:HEADer
{{
ON
11}
| {
OFF
|
o}}
Example:
OUTPUT
707;";SYSTEM:HEADER ON"
Query Syntax:
:SYSTem:HEADer?
Returned
Format:
[:SYSTem:HEADer]
{1 |
0
}
<
NL>
Where:
1::=
ON
0::
=
OFF
Example:
DIM Hdr$[20]
OUTPUT
707;":SYSTEM:HEADER?"
ENTER 707; Hdr$
PRINT Hdr$
The following
example shows the response to the query
:CHANNEL1:RANGE?
with the headers on and off.
With
headers
set
to
ON;
longform
ON:
:CHANNEL1:RANGE
6.40000E-01
With
headers
set
to
ON;
longform
OFF:
:CHAN1:RANG
6.40000E-01
With
headers
set
to
OFF:
6.40000E-01
Note
Headers should be turned
off
when returning values
to
numeric
variables.
System
Subsystem
7-6
HP
54501A
Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents