Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-87
:LAN:IPADdress
:LAN:IPADdress <string>
:LAN:IPADdress?
Sets or queries the IP address of the instrument.
 The format of <string> is nnn,nnn,nnn,nnn. The range of the first section of
"nnn" is from 0 to 223 (except 127), and the ranges of the other three sections of
"nnn" are from 0 to 255.
 When you use the command, the IP configuration mode should be static IP.
Besides, the DHCP and auto IP should be disabled.
The query returns the current IP address in strings.
:LAN:IPADdress 192.168.1.10 /*Sets the IP address to 192.168.1.10.*/
:LAN:IPADdress? /*The query returns the current IP address.*/
:LAN:SMASk
:LAN:SMASk <string>
:LAN:SMASk?
Sets or queries the subnet mask.
 The format of <string> is nnn,nnn,nnn,nnn. The range of the section "nnn" is
from 0 to 255.
 When you use the command, the IP configuration mode should be static IP. The
DHCP and auto IP should be disabled.
The query returns the current subnet mask in strings.
:LAN:SMASk 255.255.255.0 /*Sets the subnet mask to 255.255.255.0*/
:LAN:SMASk? /*The query returns the current subnet mask.*/
:LAN:STATus?
Queries the current network configuration status.
The query returns UNLINK, CONNECTED, INIT, IPCONFLICT, BUSY, CONFIGURED,
DHCPFAILED, INVALIDIP, or IPLOS.
UNLINK: not connected.
CONNECTED: the network is successfully connected.
INIT: the instrument is acquiring an IP address.
IPCONFLICT: there is an IP address conflict.
BUSY: please waiting…
CONFIGURED: the network configuration has been successfully configured.