EasyManua.ls Logo

HP E3633A - Using *STB? to Read the Status Byte; Using the Message Available Bit (MAV); To Interrupt Your Bus Controller Using SRQ

HP E3633A
175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 Remote Interface Reference
The SCPI Status Registers
108
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#VHUYLF#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
*CLS
(clear status) command.
6
Set up the enable register masks. Execute the
*ESE
command to set up the
Standard Event register and the
*SRE
command for the Status Byte.
7
Send the
*OPC?
(operation complete query) command and enter the result to
ensure synchronization.
8
Enable your bus controller’s IEEE-488 SRQ interrupt.

Table of Contents

Related product manuals