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

Table of Contents

Advertisement

Chapter 4 Remote Interface Reference
The SCPI Status Registers

Using *STB? to Read the Status Byte

The *STB? (Status Byte query) command is similar to a serial poll but it is processed
like any other instrument command. The *STB? command returns the same result as
a serial poll but the "request service" bit (bit 6) is not cleared.
The *STB? command is not handled automatically by the IEEE-488 bus interface
hardware and will be executed only after previous commands have completed. Polling
is not possible using the *STB? command. Executing the *STB? command does not
clear the Status Byte summary register.

Using the Message Available Bit (MAV)

You can use the Status Byte "message available" bit (bit 4) to determine when data is
available to read into your bus controller. The power supply subsequently clears bit
4 only after all messages have been read from the output buffer.

To Interrupt Your Bus Controller Using SRQ

Send a device clear message to clear the power supply's output buffer (e.g.,
1
).
CLEAR 705
Clear the event registers with the
2
Set up the enable register masks. Execute the
3
Standard Event register and the
Send the
(operation complete query) command and enter the result to
4
*OPC?
ensure synchronization.
Enable your bus controller's IEEE-488 SRQ interrupt.
5
110
(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:

E3646aE3648aE3649a

Table of Contents