Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-131
The IP address must be formatted in four groups of numbers, each separated by a decimal.
Example
print(lan.config.gateway)
Outputs the default gateway address. For example, you might see the output:
192.168.0.1
Also see
lan.restoredefaults() (on page 9-136)
lan.status.gateway (on page 9-139)
lan.config.ipaddress
This command specifies the LAN IP address.
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 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.
Example
ipaddress = lan.config.ipaddress
Retrieves the presently set LAN IP address.
Also see
lan.restoredefaults() (on page 9-136)
lan.status.ipaddress (on page 9-139)