Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-139
lan.status.gateway
This attribute contains the gateway address presently in use by the LAN interface.
Usage
gatewayAddress = lan.status.gateway
LAN gateway address presently being used
Details
The value of gatewayAddress is a string that indicates the IP address of the gateway in dotted
decimal notation.
Example
print(lan.status.gateway)
Outputs the gateway address, such as:
192.168.0.1
Also see
lan.config.gateway (on page 9-130)
lan.status.ipaddress
This attribute contains the LAN IP address presently in use by the LAN interface.
Usage
ipAddress = lan.status.ipaddress
LAN IP address specified in dotted decimal notation
Details
The IP address is a character string that represents the IP address assigned to the instrument.
Example
print(lan.status.ipaddress)
Outputs the LAN IP address currently in use, such as:
192.168.0.2
Also see
lan.config.ipaddress (on page 9-131)