Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-124
2606B-901-01 Rev. B / May 2018
Also see
(on page 7-113)
lan.status.duplex
This attribute contains the duplex mode 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
duplex
= lan.status.duplex
duplex
LAN duplex setting can be one of the following values:
0
or
lan.HALF
: half-duplex operation
1
or
lan.FULL
: full-duplex operation
Example
print(lan.status.duplex)
Outputs the present LAN duplex mode, such as:
1.00
Also see
None
lan.status.gateway
This attribute contains the gateway 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
gatewayAddress
= lan.status.gateway
gatewayAddress
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
(on page 7-117)