Section 11: TSP command reference Model 2601B-PULSE System SourceMeter Instrument Reference Manual
11-124 2601B-PULSE-901-01A April 2020
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 11-115)
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 11-116)