Section 6: SCPI command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
6-146
2461-901-01 A/November 2015
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.
Automatic:
AUTO,<IPaddress>,<NETmask>,<GATeway>
Manual:
MANual,<IPaddress>,<NETmask>,<GATeway>
Example
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-146)
:SYSTem:COMMunication:LAN:MACaddress?
This command queries the LAN MAC address.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:SYSTem:COMMunication:LAN:MACaddress?
Details
The MAC address is a character string representing the MAC address of the instrument in
hexadecimal notation. The string includes colons that separate the address octets.