Agilent Technologies B2902 Service Manual Page 34

  • Download
  • Add to my manuals
  • Print
  • Page
    / 326
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 33
1- 18 Agilent B2900 SCPI Command Reference, Edition 2
Programming Basics
Status Byte
Status Byte
Status byte bits are turned off or on (0 or 1) to represent the instrument operation
status. When you execute a serial poll, an external computer (controller) reads the
contents of the status byte, and responds accordingly. When an unmasked status bit
is set to “1”, the instrument sends an SRQ to the controller, causing the controller to
perform an interrupt service routine.
The status byte register can be read with either a serial poll or the *STB? query
command. Serial poll is a low-level GPIB command.
In general, use serial polling (not *STB?) inside interrupt service routines. Use
*STB? in other cases (not in interrupt service routine) when you want to know the
value of the Status Byte.
Bit
Decimal
Value
Description
0 1 Measurement status summary
1 2 Not used
2 4 Error queue not empty
3 8 Questionable status summary
4 16 Output buffer
5 32 Event status byte summary
6 64 Master status summary (Request for service)
7 128 Operation status summary
Page view 33
1 ... 33 34 35 ... 326

Comments to this Manuals

No comments