Instructions
Chapter 2 Command System RIGOL
DG2000 Programming Guide 2-147
: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:MAC?
Syntax
:SYSTem:COMMunicate:LAN:MAC?
Description
Query the MAC address of the instrument.
Remarks
MAC (Media Access Control) address, also called hardware address, is used for defining the position of the
network device. For a signal generator, the MAC address is always unique. It is always used to identify the
instrument while assigning IP address for instrument. MAC address (48 bits, namely 6 bytes) is usually
expressed in hexadecimal format, such as 00-14-0E-42-12-CF.
Return Format
The query returns a string, for example, 00-14-0E-42-12-CF.
:SYSTem:COMMunicate:LAN:SMASk
Syntax
:SYSTem:COMMunicate:LAN:SMASk <mask>
:SYSTem:COMMunicate:LAN:SMASk?