Instructions

Chapter 2 Command System RIGOL
DS1000Z-E Programming Guide 2-77
:LAN:IPADdress
Syntax :LAN:IPADdress <string>
:LAN:IPADdress?
Description
Sets or queries the IP address of the instrument.
Parameter
Name
Type
Range
Default
<string>
ASCII String
Refer to Explanation
——
Explanation 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 (refer
to the
:LAN:MANual command). Besides, the DHCP and auto IP should be
disabled.
Return
Format
The query returns the current IP address in strings.
Example
: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
Syntax :LAN:SMASk <string>
:LAN:SMASk?
Description
Sets or queries the subnet mask.
Parameter
Name
Type
Range
Default
<string>
ASCII String
Refer to Explanation
——
Explanation 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 (refer
to the :LAN:MANual command). The DHCP and auto IP should be disabled.
Return
Format
The query returns the current subnet mask in strings.
Example
: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?
Syntax
:LAN:STATus?
Description
Queries the current network configuration status.
Return
Format
The query returns UNLINK, INIT, IPCONFLICT, CONFIGURED, or DHCPFAILED.
UNLINK: not connected.
INIT: the instrument is acquiring an IP address.
IPCONFLICT: there is an IP address conflict.
CONFIGURED: the network configuration has been successfully configured.
DHCPFAILED: the DHCP configuration has failed.