Lan.config.gateway; Lan.config.ipaddress - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Section 11: TSP command reference

lan.config.gateway

This attribute contains the LAN default gateway address.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
gatewayAddress = lan.config.gateway
lan.config.gateway = "gatewayAddress"
gatewayAddress
Details
This attribute specifies the default gateway IP address to use when manual or DLLA configuration
methods are used to configure the LAN. If DHCP is enabled, this setting is ignored.
This attribute does not indicate the actual setting that is presently in effect. Use the
lan.status.gateway attribute to determine the present operating state of the LAN.
The IP address must be formatted in four groups of numbers, each separated by a decimal.
Example
print(lan.config.gateway)
Also see
lan.restoredefaults()
lan.status.gateway

lan.config.ipaddress

This command specifies the LAN IP address.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
ipAddress = lan.config.ipaddress
lan.config.ipaddress = "ipAddress"
ipAddress
Details
This command 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.
11-262
Affected by
LAN restore defaults
LAN default gateway address; must be a string specifying the default
gateway's IP address in dotted decimal notation
(on page 11-265)
(on page 11-268)
Affected by
LAN restore defaults
LAN IP address; must be a string specifying the IP address in dotted decimal
notation
Series 3700A System Switch/Multimeter Reference Manual
Where saved
Nonvolatile memory
Outputs the default gateway address. For example, you might
see the output:
192.168.0.1
Where saved
Default value
Nonvolatile memory
"192.168.0.2"
Default value
"0.0.0.0"
3700AS-901-01 Rev. D/June 2018

Advertisement

Table of Contents
loading

Table of Contents