![Rigol DS4000E Series Programming Manual Download Page 120](http://html1.mh-extra.com/html/rigol/ds4000e-series/ds4000e-series_programming-manual_1460996120.webp)
RIGOL
2-108
DS4000E Programming Guide
: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 Remarks
--
Remarks
The format of <string> is nnn,nnn,nnn,nnn. The range of the section "nnn" is from 0 to 255.
When the DHCP configuration mode is valid (refer to the :LAN:DHCP command), the DHCP server in
the current network will assign the subnet mask to the oscilloscope. You can use this command to
query the current subnet mask.
When the auto IP configuration mode is valid (refer to the :LAN:AUToip command), the oscilloscope
will get the subnet mask 255.255.0.0 automatically according to the current network configuration.
You can use this command to query the current subnet mask.
When the static IP configuration mode (refer to the :LAN:MANual command) is valid, you can use this
command to set or query the subnet mask.
Return Format
The query returns the subnet mask in strings.
:LAN:STATus?
Syntax
:LAN:STATus?
Description
Queries the current network status.
Return Format
The query returns UNLINK, INIT, IPCONFLICT, CONFIGURED, or DHCPFAILED.
UNLINK: indicates not connected.
INIT: indicates that the instrument is acquiring an IP address.
IPCONFLICT: indicates that there is an IP address conflict.
CONFIGURED: indicates that the network configuration has been successfully configured.
DHCPFAILED: indicates that the DHCP configuration has failed.
:LAN:VISA?
Syntax
:LAN:VISA?
Description
Queries the VISA address of the instrument.
Return Format
The query returns the VISA address in strings.