User Manual LW120
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 LW120 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, “Queue Overflow”. 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:
SYSTem:ERRor?
Errors have the following format (the error string may contain up to 80
Remote Programming Reference 4-66