4- 172 Keysight B2961A/B2962A SCPI Command Reference, Edition 6
Subsystem Commands
SYSTem Subsystem
:SYSTem:DATE
Sets the date of the internal clock. This command setting is not changed by power
off or the *RST command.
Syntax :SYSTem:DATE year, month, day
:SYSTem:DATE?
Parameter year Year. 4-digit integer. Parameter data type is NR1.
month Month. Integer from 1 to 12. Parameter data type is NR1.
day Day. Integer from 1 to 31. Parameter data type is NR1.
Query response response <newline>
response returns year, month, day. Each value is separated by a comma. Response
data type is NR1.
Example :SYST:DATE 2011,1,1
:SYSTem:ERRor:ALL?
Reads and returns all items in the error/event queue, and clears the queue.
Syntax :SYSTem:ERRor:ALL?
Query response response <newline>
response returns code,message which contains the error/event code and message.
Multiple responses are listed in the FIFO (first-in-first-out) order, separated by a
comma. Data type of code is NR1 and message is SRD.
If the queue is empty, the response is +0,“No error”.
Example :SYST:ERR:ALL?
:SYSTem:ERRor:CODE:ALL?
Reads all items in the error/event queue, returns all codes, and clears the queue.
Syntax :SYSTem:ERRor:CODE:ALL?
Query response code <newline>