Instructions

RIGOL Chapter 2 Command System
2-146 DG2000 Programming Guide
:SYSTem:COMMunicate:LAN:GATEway
Syntax
:SYSTem:COMMunicate:LAN:GATEway <address>
:SYSTem:COMMunicate:LAN:GATEway?
Description
Sets the default gateway.
Queries the default gateway.
Parameter
Name
Type
Range
Default
<address>
ASCII String
Refer to "Remarks".
None
Remarks
This command is only valid when the ManualIP configuration mode
(
:SYSTem:COMMunicate:LAN:STATic[:STATe]) is enabled.
The format of <address> is "nnn.nnn.nnn.nnn". The range for the first segment (nnn) of the address
is from 1 to 223 (except 127); and the range for the other three segments is from 0 to 255. You are
recommended to ask your network administrator for a gate address available.
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 a string. For example, 192.168.1.1.
Example
:SYST:COMM:LAN:GATE 192.168.1.1 /*Sets the default gateway to 192.168.1.1.*/
:SYST:COMM:LAN:GATE? /*Queries the default gateway and the query returns
192.168.1.1.*/
:SYSTem:COMMunicate:LAN:HOSTname
Syntax
:SYSTem:COMMunicate:LAN:HOSTname <name>
:SYSTem:COMMunicate:LAN:HOSTname?
Description
Set the host name.
Query the host name.
Parameter
Name
Type
Range
Default
<name>
ASCII String
Refer to "Remarks".
YYYrigollan
Remarks
<name> is the specified host name and cannot exceeds 99 characters (can include English characters and
numbers).
Return Format
The query returns a string.
Example
:SYST:COMM:LAN:HOST RIGOL123 /*Set the host name to RIGOL123*/
:SYST:COMM:LAN:HOST? /*Query the host name and the query returns RIGOL123*/