Stb - Agilent Technologies Infiniium 90000 Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

13
Common Commands

*STB?

(Status Byte)
Query
*STB?
The *STB? query returns the current contents of the Status Byte, including
the Master Summary Status (MSS) bit. See
Register bit definitions.
Returned Format
<value><NL>
<value>
An integer, 0 to 255, representing a mask value for the bits enabled in the
Status Byte.
Example
This example reads the contents of the Status Byte into the numeric
variable, varValue, then prints the value of the variable to the computer's
screen.
myScope.WriteString "*STB?"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)
In response to a serial poll (SPOLL), Request Service (RQS) is reported on
bit 6 of the status byte. Otherwise, the Master Summary Status bit (MSS)
is reported on bit 6. MSS is the inclusive OR of the bitwise combination,
excluding bit 6, of the Status Byte Register and the Service Request Enable
Register. The MSS message indicates that the oscilloscope is requesting
service (SRQ).
Table 21 Status Byte Register Bits
Bit
7
6
5
4
3
264
Bit
Bit Name
Weight
128
OPER
64
RQS/MSS
32
ESB
16
MAV
8
---
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
Table 21
for Status Byte
Condition (0 = False = Low, 1 =
True = High)
0 = no enabled operation status
conditions have occurred 1 = an
enabled operation status condition
has occurred
0 = oscilloscope has no reason for
service 1 = oscilloscope is
requesting service
0 = no event status conditions
have occurred 1 = an enabled
event status condition has
occurred
0 = no output messages are ready
1 = an output message is ready
0 = not used

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents