DSA800 series programming guide - Page 192

For DSA815.

Loading ...
Loading ...
Loading ...
RIGOL Chapter 2 Command System
2-170 DSA800 Programming Guide
:SYSTem:COMMunicate:LAN[:SELF]:DHCP:STATe
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:DHCP:STATe OFF|ON|0|1
:SYSTem:COMMunicate:LAN[:SELF]:DHCP:STATe?
Description
Enable or disable the DHCP mode.
Query the status of the DHCP mode.
Parameter
Name
Type
Range
Default
-- Bool OFF|ON|0|1 ON|1
Explanation
The spectrum analyzer always tries to get the IP address configuration in the order of DHCP, auto IP and
manual IP. The three setting modes cannot be turned off at the same time.
Return Format
The query returns 0 or 1.
Example
The command below disables the DHCP mode.
:SYSTem:COMMunicate:LAN:SELF:DHCP:STATe OFF or :SYSTem:COMMunicate:LAN:SELF:DHCP:STATe 0
The query below returns 0.
:SYSTem:COMMunicate:LAN:SELF:DHCP:STATe?
:SYSTem:COMMunicate:LAN[:SELF]:IP:ADDress
Syntax
:SYSTem:COMMunicate:LAN[:SELF]:IP:ADDress <ip_address>
:SYSTem:COMMunicate:LAN[:SELF]:IP:ADDress?
Description
Set the IP address.
Query the IP address.
Parameter
Name
Type
Range
Default
<ip_address>
ASCII STRING Refer to
Explanation
--
Explanation
The format of <ip_address> 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.
Return Format
The query returns the current IP address in nnn.nnn.nnn.nnn format.
Example
The command below sets the IP address to 172.16.3.199.
:SYSTem:COMMunicate:LAN:SELF:IP:ADDress 172.16.3.199
The query below returns 172.16.3.199.
:SYSTem:COMMunicate:LAN:SELF:IP:ADDress?
Loading ...
Loading ...
Loading ...