*CLS
Description
This command clears all status registers (ESR, STB), the event based questionable and operation register and the error queue.
The status byte register (STB) keeps real-time information of the operational status of
the device (OPER, QUES). So clearing in this context means cleaning up of static information.
Syntax
*CLS
| Command | Query |
|---|---|
| Yes | No |
| Parameters | Accepted Format | Possible Errors |
|---|---|---|
none |
none |
none |
Sample usage
visaSession.write('*CLS\n')
Related commands
*STB?
*ESR?
:STATus:OPERation:CONDition?
:STATus:OPERation[:EVENt]?
:STATus:QUEStionable:CONDition?
:STATus:QUEStionable[:EVENt]?
:SYSTem:ERRor
:SYSTem:ERRor:COUNt
*IDN?