Ese - Agilent Technologies Infiniium 90000 Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

13
Common Commands

*ESE

(Event Status Enable)
Command
*ESE <mask>
The *ESE command sets the Standard Event Status Enable Register bits.
<mask>
An integer, 0 to 255, representing a mask value for the bits to be enabled
in the Standard Event Status Register as shown in
Example
This example enables the User Request (URQ) bit of the Standard Event
Status Enable Register. When this bit is enabled and a front- panel key is
pressed, the Event Summary bit (ESB) in the Status Byte Register is also
set.
myScope.WriteString "*ESE 64"
Query
*ESE?
The *ESE? query returns the current contents of the Standard Event
Status Enable Register.
Returned Format
<mask><NL>
<mask>
An integer, +0 to +255 (the plus sign is also returned), representing a
mask value for the bits enabled in the Standard Event Status Register as
shown in
Example
This example places the current contents of the Standard Event Status
Enable Register in the numeric variable, varEvent. The value of the
variable is printed on the computer's screen.
myScope.WriteString "*ESE?"
varEvent = myScope.ReadNumber
Debug.Print FormatNumber(varEvent, 0)
The Standard Event Status Enable Register contains a mask value for the
bits to be enabled in the Standard Event Status Register. A "1" in the
Standard Event Status Enable Register enables the corresponding bit in
the Standard Event Status Register. A "0" in the enable register disables
the corresponding bit.
Table 17 Standard Event Status Enable Register Bits
Bit
7
6
5
248
Table
17.
Weight
Enables
128
PON - Power On
64
32
CME - Command Error
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
Table
17.
Definition
Indicates power is turned on.
Not Used. Permanently set to zero.
Indicates whether the parser
detected an error.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents