Sre - HP 54501A Programming Reference Manual

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

Advertisement

*SRE
*SRE
(Service Request Enable)
command/query
The *SRE
command
sets
the Service Request Enable Register bits.
The
Service
Request Enable Register
contains
a
mask value for the bits to be
enabled
in the Status
Byte Register.
A
one
in the Service
Request Enable
Register will enable
the corresponding bit in the Status Byte Register,
a
zero will disable the bit.
Refer
to table
5-5 for the
bits
in the Service
Request Enable Register
and what
they
mask.
The *SRE
query returns the current value.
Command
Syntax:
*SRE
<mask>
Where:
<mask> ::= Oto255
Example:
OUTPUT 707;"*SRE i6"
Note
This example enables
a
service request
to
be
generated
when
a
message
is
available in
the
output
queue. When
a
message
is
available
the
MAY
bit
will
be
high.
Query Syntax:
*SRE?
Returned Format:
<
mask
>
<
NL>
Where:
<
mask
>
::
=
sum
of all
bits
that are set
-
0
through 255 (integer
-
NR1
format)
Example:
OUTPUT
707;"*SRE?"
ENTER
707;Value
PRINT Value
HP 54501A
Programming
Common Commands
5-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents