28 Keysight N777xC Series Tunable Laser Family Programming Guide
3 Instrument Setup and Status
 
IEEE-Common Commands 
Common Commands on page 16 gave a brief introduction to the 
IEEE-common commands which can be used with the instruments. This 
section gives fuller descriptions of each of these commands.
 
Command: *CLS
Syntax: *CLS
Description: The Clear Status (*CLS) command clears the status byte by emptying the error queue and clearing all the event registers 
(SESR) including the Data Questionable Event Register, the Standard Event Status Register, the Standard Operation Status 
Register and any other registers that are summarized in the status byte.
Parameters: none
Response: none
Example: *CLS
Command: *ESE
Syntax: *ESE<wsp><value>
0 ≤ value ≤ 255
Description: The standard Event Status Enable command (*ESE) sets bits in the Standard Event Status Enable Mask (SESEM) that enable 
the corresponding bits in the standard event status register (SESR).
The register is cleared:
at power-on,
by sending a value of zero.
The register is not changed by the *RST and *CLS commands.
Parameters: The bit value for the register (a 16-bit signed integer value):
Bit Mnemonic Decimal Value
7 (MSB) Power On  128
6Not Used 64
5 Command Error  32
4 Execution Error  16
3 Device Dependent Error  8
2Query Error  4