7: TSP command reference Series 2600B System SourceMeter® Instrument
7-124 2600BS-901-01 Rev. B / May 2013
Example
print(lan.status.gateway)
Outputs the gateway address, such as:
Also see
lan.config.gateway (on page 7-116)
lan.status.ipaddress
This attribute contains the LAN IP address presently in use by the LAN interface.
Type TSP-Link accessible Affected by Where saved Default value
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:
Also see
lan.config.ipaddress (on page 7-117)
lan.status.macaddress
This attribute contains the LAN MAC address.
Type TSP-Link accessible Affected by Where saved Default value
Usage
macAddress = lan.status.macaddress
The instrument MAC address
Details
The MAC address is a character string representing the instrument's MAC address in hexadecimal notation. The
string includes colons that separate the address octets (see Example).
Example
print(lan.status.macaddress)
Outputs the MAC address of the instrument, for
example: