Esr (Event Status Register) - HP 16500C Programmer's Manual

Logic analysis system
Hide thumbs Also See for 16500C:
Table of Contents

Advertisement

Table 9-2
Standard Event Status Enable Register
Bit Position
7
6
5
4
3
2
1
0

*ESR (Event Status Register)

Query
*ESR?
The *ESR query returns the contents of the Standard Event Status Register.
Reading the register clears the Standard Event Status Register.
Returned Format
<status><NL>
An integer from 0 to 255
<status>
Example
If a command error has occurred, and bit 5 of the ESE register is set, the
string variable Esr_event$ will have bit 5 (the CME bit) set.
10 OUTPUT XXX;"*ESE 32
20 OUTPUT XXX;"*ESR?"
30 ENTER XXX; Esr_event$
Bit Weight
Enables
128
PON - Power On
64
URQ - User Request
32
CME - Command Error
16
EXE - Execution Error
8
DDE - Device Dependent Error
4
QYE - Query Error
2
RQC - Request Control
1
OPC - Operation Complete
!Enables bit 5 of the status register
!Queries the status register
!Reads the query buffer
Common Commands
*ESR (Event Status Register)
9–7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

16501a

Table of Contents