EXFO PM-1100 Optical Power Meter User Manual
Page 78

Remote Control Commands
68
PM-1100
IEEE 488.2 Commands—Quick Reference
*CLS
Description This command sets the contents of the Standard Event Register
(ESR), the Status Byte Register (STB), and the Error Queue
(ERR) to zero. This command is commonly used to clear the
status registers before enabling SRQ. Note that the output
queue, Standard Event Status Enable Register (ESE), and
Service Request Enable Register (SRE) are not affected.
Syntax
*CLS
*ESE
Description This command is used to set bits in the Standard Event Status
Enable Register (ESE) to a new value (initial value is 255). The
contents of the ESE register are logically ANDed with the ESR
register. A non zero result will set the Event Summary Bit (ESB)
of the Status Byte Register (STB). This command is useful for
selecting which events may generate an SRQ.
Syntax
*ESE<space><value>
Parameter
The <value> parameter must be between 0 and 255.
*ESE?
Description This query reads the contents of the Standard Event Status
Enable Register (ESE).
Syntax
*ESE?
Response
A binary integer between 0 and 255.