System:communication:lan[:self]:preferred, System:date, System:communication:lan[:self]:preferred -125 – RIGOL DSG3000 Series User Manual
Page 145: System:date -125

RIGOL
DSG3000 Programming Guide
2-125
:SYSTem:COMMunication:LAN[:SELF]:PREFerred
Syntax
:SYSTem:COMMunication:LAN[:SELF]:PREFerred <value>
:SYSTem:COMMunication:LAN[:SELF]:PREFerred?
Description
Set the DNS (Domain Name Service).
Query the current DNS.
Parameter
Name
Type
Range
Default
<value>
ASCII string
The format is nnn.nnn.nnn.nnn,
wherein, the range of the first nnn is
from 1 to 223 (except 127) and the
ranges of the other three nnn are from
0 to 255
NULL
Explanation
You are recommended to ask your network administrator for an address available.
Return Format
The query returns the DNS address, for example, 172.16.2.3.
Example
:SYST:COMM:LAN:PREF 172.16.2.3
:SYST:COMM:LAN:PREF?
:SYSTem:DATE
Syntax
:SYSTem:DATE <year>,<month>,<day>
:SYSTem:DATE?
Description
Set the date displayed on the instrument.
Query the date displayed on 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
:SYST:DATE 2015,04,10
:SYST:DATE?