User manual
Chapter 2 Command System RIGOL
DG800 Programming Guide 2-147
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 an 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, 202.106.46.151.
Example
:SYST:COMM:LAN:DNS 202.106.46.151 /*Sets the DNS address to 202.106.46.151.*/
:SYST:COMM:LAN:DNS? /*Queries the DNS address and the query returns
202.106.46.151.*/
: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.*/