Instructions

RIGOL Chapter 2 Command System
2-144 DG2000 Programming Guide
:SYSTem:COMMunicate:LAN:CONTrol?
Syntax
:SYSTem:COMMunicate:LAN:CONTrol?
Description
Reads the port number of the initial control connecting port for socket communication.
Return Format
The query returns 5555. If the interface does not support the socket, the query returns 0.
:SYSTem:COMMunicate:LAN:DHCP[:STATe]
Syntax
:SYSTem:COMMunicate:LAN:DHCP[:STATe] {ON|1|OFF|0}
:SYSTem:COMMunicate:LAN:DHCP[:STATe]?
Description
Enables or disables the DHCP configuration mode.
Queries the status of the DHCP configuration mode.
Parameter
Name
Type
Range
Default
{ON|1|OFF|0}
Bool
ON|1|OFF|0
ON
Remarks
In DHCP mode, the DHCP server in the current network assigns the network parameters (e.g. IP
address) for the signal generator.
If all the three IP configuration modes are set to "On", the priority of parameters configuration from
high to low is "DHCP", "AutoIP", and "ManualIP".
The three IP configuration modes cannot be set to "Off" at the same time.
After sending this command, the new settings will only take effect when
the
:SYSTem:COMMunicate:LAN:APPLy command is executed to apply the current network
parameters.
Return Format
The query returns ON or OFF.
Example
:SYST:COMM:LAN:DHCP OFF /*Disables the DHCP configuration mode.*/
:SYST:COMM:LAN:DHCP? /*Queries the status of the DHCP configuration mode and the query
returns OFF.*/
:SYSTem:COMMunicate:LAN:DNS
Syntax
:SYSTem:COMMunicate:LAN:DNS <address>
:SYSTem:COMMunicate:LAN:DNS?
Description
Sets the DNS address.
Queries the DNS address.