Reading The Status Byte; Clearing The Enable Registers - HP E1313A Manual

High speed a/d module
Table of Contents

Advertisement

Reading the
Status Byte
Clearing the
Enable Registers
Chapter 4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
To check if any enabled events have occurred in the Status system, you first
read the Status byte using the
zeros, there is no summary information being sent from any of the Status
groups. If the Status byte is other than zero, one or more enabled events
have occurred. You interpret the Status byte bit values and take further
action as follows:
Bit 3 (QUE)
Read the Questionable Data Group's Event Register
using the
bit value 8
10
This returns bit values for events which have occurred in
this group. After reading, the Event Register is cleared.
Note that bits in this group indicate error conditions. If
bit 8, 9 or 10 is set, error messages will be found in the
Error Queue. If bit 7 is set, error messages will be in the
error queue following the next
Use the
Bit 4 (MAV)
There is a message available in the Output Queue. You
should execute the appropriate query command.
bit value 16
10
Bit 5 (ESB)
Read the Standard Event Group's Event Register using
the
*ESR?
bit value 32
10
events which have occurred in this group. After reading,
this Status Register is cleared.
Note that bits 2 through 5 in this group indicate error
conditions. If any of these bits are set, error messages
will be found in the Error Queue. Use the
SYSTem:ERRor?
Bit 7 (OPR)
Read the Operation Status Group's Event Register using
the
STATus:OPERation:EVENt?
bit value 128
10
return bit values for events which have occurred in this
group. After reading, the Event Register is cleared.
To clear the Enable Registers execute:
STAT:PRES
*ESE 0
*SRE 0
Understanding the HP E1313/E1413
*STB?
command. If the Status byte is all
STATus:QUEStionable:EVENt?
*RST
SYSTem:ERRor?
command to read the error(s).
command. This will return bit values for
command to read these.
command. This will
For Operation Status and
Questionable Data Groups.
For the Standard Event Group.
For the Status Byte Group.
command.
or cycling of power.
127

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1413c

Table of Contents