System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-117
lan.config.ipaddress
This attribute specifies the LAN IP address.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes LAN restore defaults Nonvolatile memory "192.168.0.2"
Usage
ipAddress = lan.config.ipaddress
lan.config.ipaddress = ipAddress
LAN IP address; must be a string specifying the IP address in dotted decimal
notation
Details
This attribute specifies the LAN IP address to use when the LAN is configured using the manual configuration
method. This setting is ignored when DLLA or DHCP is used.
This attribute does not indicate the actual setting that is presently in effect. Use the lan.status.ipaddress
attribute to determine the present operating state of the LAN.
Example
ipaddress = lan.config.ipaddress
Retrieves the presently set LAN IP address.
Also see
lan.restoredefaults() (on page 7-121)
lan.status.ipaddress (on page 7-124)
lan.config.method
This attribute contains the LAN settings configuration method.
Type TSP-Link accessible Affected by Where saved Default value
Usage
method = lan.config.method
lan.config.method = method
The method for configuring LAN settings; it can be one of the following
values:
0 or lan.AUTO: Selects automatic sequencing of configuration methods
or
: Use only manually specified configuration settings
Details
This attribute controls how the LAN IP address, subnet mask, default gateway address, and DNS server
addresses are determined.
When method is lan.AUTO, 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, it uses
the manually specified settings.
When method is lan.MANUAL, only the manually specified settings are used. Neither DHCP nor DLLA are
attempted.