3151 And 3151A User Manual
SCPI Command Reference 4-21
Standard Event
Status Enable
Register (ESE)
The Standard Event Status Enable Register allows one or more
events in the Standard Event Status Register to be reflected in the
ESB summary message bit. The Standard Event Status Enable
Register is an 8-bit register that enables corresponding summary
messages in the Standard Event Status Register. Thus, the
application programmer can select reasons for the generator to issue
an ESB summary message bit by altering the contents of the ESE
Register.
The Standard Event Status Enable Register is read with the *ESE?
common query. The response to this query is a number that
represents the sum of the binary-weighted value of the Standard
Event Status Enable Register.
The Standard Event Status Enable Register is written using the *ESE
command followed by a decimal value representing the bit values of
the Register. A bit value one indicates an enabled condition.
Consequently, a bit value of zero indicates a disabled condition. The
Standard Event Status Enable Register is cleared by setting *ESE0.
Summary of *ESE messages is given in the following.
*ESE0 - No mask. Clears all bits in the register.
*ESE1 - ESB on Operation Complete.
*ESE2 - ESB on Request Control.
*ESE4 - ESB on Query Error.
*ESE8 - ESB on Device Dependent Error.
*ESE16 - ESB on Execution Error.
*ESE32 - ESB on Command Error.
*ESE64 - ESB on User Request.
*ESE128 - ESB Power on.
Error Messages
In general, whenever the Model 3151/3151A receives an invalid
SCPI command, it automatically generates an error. Errors are stored
in a special error queue and may be retrieved from this buffer one at
a time. Errors are retrieved in first-in-first-out (FIFO) order. The first
error returned is the first error that was stored. When you have read
all errors from the queue, the generator responds with a 0,"No error"
message.
If more than 30 errors have occurred, the last error stored in the
queue is replaced with -350, Too many errors". No additional errors
are stored until you remove errors from the queue. If no errors have
occurred when you read the error queue, the generator responds
with 0,"No error".
The error queue is cleared when power has been shut off or after a
*CLS command has been executed. The *RST command does not
clear the error queue. Use the following command to read the error
queue:
Summary of Contents for 3151
Page 4: ...This page was left intentionally blank...
Page 24: ...3151 And 3151A User Manual Getting Started 1 12 This page was left intentionally blank...
Page 29: ...3151 And 3151A User Manual Configuring The Instrument 2 5 Figure 2 1 Set The Logical Address...
Page 74: ...3151 And 3151A User Manual Using The Instrument 3 44 This page was left intentionally blank...
Page 98: ...3151 And 3151A User Manual SCPI Command Reference 4 24 This page was left intentionally blank...
Page 127: ...3151 And 3151A User Manual Optional Harness Assemblies 6 3...
Page 131: ...3151 And 3151A User Manual Optional Harness Assemblies 6 7...