Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-166
077114601 / March 2019
:SYSTem:DATE
This command sets the calendar of the instrument.
Type
Affected by
Where saved
Default value
Command and query
Not applicable
Nonvolatile memory
See
Details
Usage
:SYSTem:DATE <year>, <month>, <day>
:SYSTem:DATE?
<year>
Year: must be more than 1970
<month>
Month: 1 to 12
<day>
Day: 1 to 31
Details
The query command returns the present date in the format:
<year>,<month>,<day>
Example
:SYST:DATE 2014, 5, 12
Set the system date to May 12, 2014.
Also see
(on page 7-176)
:SYSTem:ERRor?
This command reads the oldest error message from the event log.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:SYSTem:ERRor?
Details
As errors occur, they are placed in the error queue. The error queue is a first-in, first-out (FIFO)
register that can hold up to 64 messages.
This command returns the next entry from the error queue. Errors are cleared after you read them.
If there are no entries in the error queue, the following message is returned: 0,"No error"
Example
:SYST:ERR?
Returns information about the next error in the error
queue.
Also see
None