Series 3700A System Switch/Multimeter Reference Manual
Example
ipaddress = lan.config.ipaddress
Also see
lan.restoredefaults()
lan.status.ipaddress
lan.config.method
This attribute contains the LAN settings configuration method.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
method = lan.config.method
lan.config.method = method
method
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.
Example
print(lan.config.method)
Also see
lan.restoredefaults()
3700AS-901-01 Rev. D/June 2018
(on page 11-265)
(on page 11-269)
Affected by
LAN restore defaults
The method for configuring LAN settings; it can be one of the following
values:
▪
0 or lan.AUTO: Selects automatic sequencing of configuration
methods
▪
1 or lan.MANUAL: Use only manually specified configuration settings
(on page 11-265)
Section 11: TSP command reference
Retrieves the presently set LAN IP address.
Where saved
Default value
Nonvolatile memory
0 (lan.AUTO)
Outputs the current method.
For example:
1.00000e+00
11-263