System information
17-Nov-2014 G2T Programmers Guide Rev-A
43
5.2.2.15. *CLS command
This command clears registers as described below.
*CLS
This clears the interface’s Last Error Registers, Event Status Register
and the Status Byte Register (except for MAV, FLT and PSFLT) but
not its queued responses. It has no affect on the other interfaces.
As a departure from the standard, the Fault Queue is not affected.
As a result, after the command, MAV, FLT and PSFLT reflects the
status of their underlying conditions.
5.2.2.16. *STB? command
This command returns the contents of the Status Byte Register.
*STB?
Returns the contents of the Status Byte Register. Note that bit 6 is
the MSS bit and not RQS and MSS is cleared by the operation. (This
is in contrast to the way GPIB serial polls clear RQS).
5.2.2.17. *ESR? command
This command returns the contents of the Event Status Register.
*ESR?
Returns the contents of the Event Status Register (ESR). The register
is cleared after the read. See below for details of the relationship
between the ESR and the Last Error Registers.
5.2.2.18. *ESE command
This command sets the value of the Events Status Register.
*ESE n
This sets the value n (n can be from 0 to 255) in the Event Status
Enable Register (ESER). See below.