User manual

Section
7: TSP command reference Series 2600B System SourceMeterĀ® Instrument
Reference Manual
7-124 2600BS-901-01 Rev. B / May 2013
Example
print(lan.status.gateway)
Outputs the gateway address, such as:
192.168.0.1
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
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
ipAddress = lan.status.ipaddress
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 7-117)
lan.status.macaddress
This attribute contains the LAN MAC address.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
macAddress = lan.status.macaddress
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:
00:60:1A:00:00:57