User manual

Chapter 2 Command System RIGOL
DSA700 Programming Guide 2-167
:SYSTem:DATE
Syntax
:SYSTem:DATE <year>,<month>,<day>
:SYSTem:DATE?
Description
Set the date of the instrument.
Query the date of the instrument.
Parameter
Name
Type
Range
Default
<year> ASCII String 2000 to 2099 --
<month> ASCII String 01 to 12 --
<day> ASCII String 01 to 31 --
Return Format
The query returns the current date in YYYY,MM,DD format.
Example
The command below sets the date of the instrument to 2016/05/16.
:SYSTem:DATE 2016,05,16
The query below returns 2016,05,16.
:SYSTem:DATE?
:SYSTem:ERRor[:NEXT]?
Syntax
:SYSTem:ERRor[:NEXT]?
Description
Query and delete the last message that entered the error queue.
Explanation
If no error currently exists, the query returns 0,"No Error".
Use the
*CLS command to delete all the messages in the error queue.
Return Format
The query returns the error message in "Error Number,"Error Message"" format. For example,
-110,"Command header error".