Enabling The Status Byte - HP 70427A User Manual

Table of Contents

Advertisement

Enabling the Status
Byte
Remote Programming
Status Byte Reporting Structure
The sum of the binary-weighted values for each desired register are used
with the *SRE command to specify what register(s) can cause a service
request (SRQ). The RQS bit (6) is always enabled, but can not be asserted
unless one or more other register or queue summary bits are enabled.
The following example sets the Status Byte to allow the Standard Event
Status Register and Output Queue summary bits to cause a service request:
OUTPUT 728;"*SRE 48"
Reading the Status Byte Enable Setting
Use the query form (*SRE?) to read-back the current enable setting of the
Status Byte. Example -
OUTPUT 728;"*SRE?"
Since you cannot set bit 6 (RQS), the returned value will be in the range of
0 to 63, or 128 to 191.
Reading The Status Byte
The *STB? Common Command reads the value of the Status Byte. If the
returned value is >0, a Service Request has been asserted by one or more
registers you have enabled.
Syntax-
*STB?
Example-
OUTPUT 728;"*STB?"
You can also use a Serial Poll to query the Status Byte value:
Defining the Service Request Settings
Use the following sequence to define what conditions you want to allow a
service request (assert bit 6 of the Status Byte).
1. From all of the status registers and queues, decide what condition(s) you
want to cause a service request.
2. Enable the corresponding status register bits for those conditions.
3. Enable the Status Byte to allow the desired register(s) and queues to
cause a service request.
7-6 HP 70427A/HP 70428A User's Guide
SPOLL(728)

Advertisement

Table of Contents
loading

This manual is also suitable for:

70428a

Table of Contents