Error - HP 54501A Programming Reference Manual

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

Advertisement

ERRor
ERRor
query
The
:SYSTEM:ERROR
query
outputs the next
error number
in the
error
queue over the
HP-IB.
This instrument
has an
error
queue that
is
30
errors
deep
and operates on
a
first-in, first-out
basis.
Successively sending
the query,
:SYSTEM:ERROR?,
returns the
error
numbers in the
order
that they occurred until
the
queue
is
empty.
Any
further queries then
return zeros until another error
occurs.
When
the
NUMBER
parameter
is
used in the query only the numeric
error
code is output.
When
the
STRING
parameter
is
used the
error
number
is
output followed
by
a
comma and
a
quoted string.
If
no
parameter
is
specified
then the
numeric error code
is
output.
No
parameter specified
is
the same
as
specifying
NUMBER.
See table
7-1 for the
ERROR
numbers.
Query Syntax:
;8YSTein:ERRor? {NUMBer
|
STRing
|
(no_param)}
Returned Format:
[:SYSTem:ERRor]
<
error
>[,<
quoted
string>]<NL>
Where:
<
error
>
::=
an integer error code
<quoted
string
>
::
=
an
alpha
string specifying the
error condition
Example:
DIM Emsg$[50]
OUTPUT 707;":SYSTEM:ERROR?"
ENTER 707;Emsg$
PRINT Emsg$
System Subsystem
7-4
HP
54501A
Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents