Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-352
DMM7510-901-01 Rev. B / May 2015
Example
data = tsplink.readport()
print(data)
Reads state of all three TSP-Link lines.
Assuming line 2 is set high, the output is:
2.00
(binary 010)
The format of the output may vary depending on the ASCII
precision setting.
Also see
Triggering using TSP-Link synchronization lines
(on page 3-109)
(on page 8-350)
(on page 8-352)
tsplink.state
This attribute describes the TSP-Link online state.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
state
= tsplink.state
state
TSP-Link state (
online
or
offline
)
Details
When the instrument power is first turned on, the state is
offline
. After
tsplink.initialize()
or
tsplink.reset()
is successful, the state is
online
.
Example
state = tsplink.state
print(state)
Read the state of the TSP-Link system. If it is online,
the output is:
online
Also see
(on page 8-351)
tsplink.writeport()
This function writes to all TSP-Link synchronization lines as a digital I/O port.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
tsplink.writeport(
data
)
data
Value to write to the port (0 to 7)