Using *Stb? To Read The Status Byte; Using The Message Available Bit (Mav); To Interrupt Your Bus Controller Using Srq - HP E3633A User Manual

Table of Contents

Advertisement

Chapter 4 Remote Interface Reference
The SCPI Status Registers

Using *STB? to Read the Status Byte

7KH#*STB?#+6WDWXV#%\WH#TXHU\,#FRPPDQG#LV#VLPLODU#WR#D#VHULDO#SROO#EXW#LW#LV#
SURFHVVHG#OLNH#DQ\#RWKHU#LQVWUXPHQW#FRPPDQG1#7KH#*STB?#FRPPDQG#UHWXUQV#
WKH#VDPH#UHVXOW#DV#D#VHULDO#SROO#EXW#WKH#§UHTXHVW#VHUYLFH¨#ELW#+ELW#9,##LV#QRW#FOHDUHG1#
7KH#*STB?#FRPPDQG#LV#QRW#KDQGOHG#DXWRPDWLFDOO\#E\#WKH#,(((07;;#EXV#
LQWHUIDFH#KDUGZDUH#DQG#ZLOO#EH#H[HFXWHG#RQO\#DIWHU#SUHYLRXV#FRPPDQGV#KDYH#
FRPSOHWHG1#3ROOLQJ#LV#QRW#SRVVLEOH#XVLQJ#WKH#*STB?#FRPPDQG1#([HFXWLQJ#WKH#
*STB?#FRPPDQG#GRHV#QRW#FOHDU#WKH#6WDWXV#%\WH#VXPPDU\#UHJLVWHU1

Using the Message Available Bit (MAV)

<RX#FDQ#XVH#WKH#6WDWXV#%\WH#§PHVVDJH#DYDLODEOH¨#ELW#+ELW#7,#WR#GHWHUPLQH#ZKHQ#
GDWD#LV#DYDLODEOH#WR#UHDG#LQWR#\RXU#EXV#FRQWUROOHU1#7KH#SRZHU#VXSSO\#
VXEVHTXHQWO\#FOHDUV#ELW#7#RQO\#DIWHU#DOO#PHVVDJHV#KDYH#EHHQ#UHDG#IURP#WKH#
RXWSXW#EXIIHU1

To Interrupt Your Bus Controller Using SRQ

4
Send a device clear message to clear the power supply's output buffer (e.g.,
).
CLEAR 705
5
Clear the event registers with the
6
Set up the enable register masks. Execute the
Standard Event register and the
7
Send the
(operation complete query) command and enter the result to
*OPC?
ensure synchronization.
8
Enable your bus controller's IEEE-488 SRQ interrupt.
108
(clear status) command.
*CLS
command to set up the
*ESE
command for the Status Byte.
*SRE

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

E3634a

Table of Contents