Cls – clear status command, Ese – event status register command, Esr? – event status register query – Teledyne LeCroy WaveStation SCPI Command Reference Manual User Manual
Page 13

Command Reference
*CLS – Clear Status Command
DESCRIPTION
The *CLS command clears all the status data registers.
SYNTAX
*CLS
RELATED
ALL_STATUS, CMR, DDR, *ESR, EXR, *STB, URR
*ESE – Event Status Register Command
DESCRIPTION
The *ESE command sets the Standard Event Status Enable register (ESE). This
command allows one or more events in the ESR register to be reflected in the ESB
summary message bit(bit 5) of the STB register.
The *ESE? query reads the contents of the ESE register.
SYNTAX
*ESE
QUERY SYNTAX
*ESE?
RESPONSE
*ESE
EXAMPLE 1
The following instruction allows the ESB bit to be set if a user request
(URQ bit 6, i.e. decimal 64) and/or a device dependent error (DDE bit 3,
i.e., decimal 8) occurs. Summing these values yields the ESE register mask
64+8=72.
*ESE?
Return:
*ESE 72
RELATED
*ESR
*ESR? – Event Status Register Query
DESCRIPTION
The *ESR? query reads and clears the contents of the Event Status Register (ESR).
The response represents the sum of the binary values of the register bits 0 to 7.
SYNTAX
*ESR?
RESPONSE
*ESR
RELATED
ALL_STATUS, *CLS, *ESE
922829 Rev C
11