Remote Operation
SCPI Commands and Syntax 5
5-51
This is a SCPI mandated command. The intention behind mandating the STAT:PRES
command is to enable all bits in the SCPI defined device-dependent and transition registers
in order to provide a "device-independent structure for determining the gross status of a
device".
In the 6100B, the functions of the “transition” registers are not required, so no access is
given. The PRES command therefore affects only the two device-dependent enabling
registers:
• The Operation Event Enable register.
• The Questionable Event Enable register.
Sending STAT:PRES will set true all bits in both Enable registers. This will enable all bits
in the two Event registers, so that all reportable device-dependent events, reported in the
two registers, will be capable of generating an SRQ; providing only that bits 3 and 7 in the
IEEE 488.2 Status Byte Register are also enabled.
The use of STAT:PRES in the 6100B allows the status-reporting structure to be set to a
known state, not only for the intention of the SCPI mandate, but also to provide a known
starting point for application programmers.
5-75. System Subsystem Command Details
SYSTem:ERRor?
As errors in the 6100B are detected, they are placed in a “first in, first out” queue, called the
Error Queue.
This queue conforms to the format described in the SCPI Command Reference
(Volume 2), although errors only are detected. Three kinds of errors are reported in the
Error Queue, in the sequence that they are detected:
Command errors, execution errors and device-dependent errors.
Queue Overflow
Any time the Error Queue overflows, the earliest errors remain in the queue, and the most
recent error is discarded. The latest error in the queue is replaced by the error:
-350,"Queue overflow".
Purpose of SYST:ERR? — Reading the Error Queue
This query is used to return any error that has reached the head of the Error Queue, and
delete the error from the queue. The Error Queue is first in / first out, so the returned string
will represent the earliest error in the queue.
The queue is read destructively as described in the SCPI Command Reference to obtain a
code number and error message. The query can be used successively to read errors in the
queue until it is empty, when the message 0,No Error will be returned.
The response is in the form of String Program Data, and consists of two elements: a code
number and error message.
SYSTem:DATE(?) <dnpd>,<dnpd>,<dnpd>
This command is used to change the date of the clock within the 6100B. The date format is
YYYY, MM, DD
The Query will return the presently programmed date YYYY, MM, DD.
SYSTem:TIME(?)<dnpd>,<dnpd>
This command changes the present time as recorded by the 6100B. Any new time will be
updated from a non-volatile real-time internal 24-hour clock.
A 24-hour clock format is used to set the time: HH, MM.