
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-121
Example
print(lan.status.gateway)
Outputs the gateway address, such as:
192.168.0.1
Also see
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.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
Summary of Contents for 2657A
Page 3: ......