User manual

RIGOL Chapter 2 Command System
2-148 DG800 Programming Guide
:SYSTem:COMMunicate:LAN:IPADdress
Syntax
:SYSTem:COMMunicate:LAN:IPADdress <ip_address>
:SYSTem:COMMunicate:LAN:IPADdress?
Description
Sets the IP address.
Queries the IP address.
Parameter
Name
Type
Range
Default
<ip_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 <ip_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, 192.168.1.88.
Example
:SYST:COMM:LAN:IPAD 192.168.1.88 /*Sets the IP address to 192.168.1.88.*/
:SYST:COMM:LAN:IPAD? /*Queries the IP address and the query returns 192.168.1.88.*/
:SYSTem:COMMunicate:LAN:SMASk
Syntax
:SYSTem:COMMunicate:LAN:SMASk <mask>
:SYSTem:COMMunicate:LAN:SMASk?
Description
Sets the subnet mask.
Queries the subnet mask.
Parameter
Name
Type
Range
Default
<mask>
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 <mask> is "nnn.nnn.nnn.nnn". The range of "nnn" is from 0 to 255. You are
recommended to ask your network administrator for a subnet mask 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.
The subnet mask must be continuous, that is, 1 and 0 must be continuous.