System information
17-Nov-2014 G2T Programmers Guide Rev-A
61
*PSC? – returns the current value of PSC
*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.
*RST – This command clears all the switchpoint routings in all
the modules. No other status registers are affected
6.1.8.1. Commands to Evaluate and Control Status (non 488.2)
The following commands are used to evaluate the status of
the device. They are in addition to IEEE 488.2 commands
and their functionality is not defined by that standard.
GET? 15 – returns the oldest entry in the Fault Queue and
will always be at least a three digit number. The last two
digits in the number are undocumented diagnostic codes.
The first digit(s) in the number and their meanings can be
referenced in the error code list. If the queue is empty it
returns 0. If there are entries in the queue, the FLT bit of SBR
is set. Reading the last entry causes the FLT bit to clear and
for MSS to be evaluated.
The following three read-only registers behave differently
from the others properties that can be read with the GET?
Query commands. Upon detecting an error of one of the
above types, its corresponding flag in the ESR is set and the
error is recorded in the register. (Any previous, unread error
is over-written.) At this point, the register can be read with
the GET? Query. Once the ESR is cleared or read (which
clears it), the Last Error Registers clear after the next time
they are read
GET? 4 – returns contents of the Last Query Error Register
GET? 16 – returns contents of the Last Execution Error
Register
GET? 32 – returns contents of the Last Command Error
Register