System SourceMeter® Instrument Reference Manual Section 7: TSP com
2600BS-901-01 Rev. C / August 2016 7-135
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
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
Outputs the present LAN duplex mode, such as:
1.00000e+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
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 7-127)