
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 6: SCPI command reference
2450-901-01 Rev. B/September 2013
6-97
:SYSTem:COMMunication:LAN:CONFigure
This command specifies the LAN configuration for the instrument.
Type
Affected by
Where saved
Default value
Command and query
Rear panel LAN reset
Nonvolatile memory
AUTO
Usage
:SYSTem:COMMunication:LAN:CONFigure "AUTO"
:SYSTem:COMMunication:LAN:CONFigure "MANual,<IPaddress>,"
:SYSTem:COMMunication:LAN:CONFigure "MANual,<IPaddress>,<NETmask>"
:SYSTem:COMMunication:LAN:CONFigure "MANual,<IPaddress>,<NETmask>,<GATeway>"
:SYSTem:COMMunication:LAN:CONFigure?
AUTO
Use automatically configured LAN settings (default)
MANual
Use manually configured LAN settings
<IPaddress>
LAN IP address; must be a string specifying the IP address in dotted decimal
notation; required if the mode is set to manual (default "0.0.0.0")
<NETmask>
The LAN subnet mask; must be a string in dotted decimal notation (default
"255.255.255.0")
<GATeway>
The LAN default gateway; must be a string in dotted decimal notation (default
"0.0.0.0")
Details
This command specifies how the LAN IP address and other LAN settings are assigned. If automatic configuration
is selected, the instrument automatically determines the LAN information. When method is automatic, the
instrument first attempts to configure the LAN settings using dynamic host configuration protocol (DHCP). If
DHCP fails, it tries dynamic link local addressing (DLLA). If DLLA fails, an error occurs.
If manual is selected, you must define the IP address. You can also assign a subnet mask, and default gateway.
The IP address, subnet mask, and default gateway must be formatted in four groups of numbers, each separated
by a decimal. If you do not specify a subnet mask or default gateway, the previous settings are used. When
specifying multiple parameters, do not use spaces after the commas.
The query form of the command returns the present settings in the order shown here:
AUTO or MANual,<IPaddress>,<NETmask>,<GATeway>
Example 1
SYST:COMM:LAN:CONF "MANUAL,192.168.0.1,255.255.240.0,192.168.0.3"
SYST:COMM:LAN:CONF?
Set the IP address to be set manually, with the IP address set to 192.168.0.1, the subnet mask to
255.255.240.0, and the gateway address to 192.168.0.3.
Query to verify the settings. The response to the query should be:
manual,192.168.0.1,255.255.240.0,192.168.0.3
Also see
:SYSTem:COMMunication:LAN:MACaddress?
(on page 6-98)