2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-273
tsplink.line[N].state
This attribute reads or writes the digital state of a TSP-Link synchronization line.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Not applicable
tsplink.STATE_HIGH
Usage
lineState
= tsplink.line[
N
].state
tsplink.line[
N
].state =
lineState
lineState
The state of the synchronization line:
Low:
tsplink.STATE_LOW
High:
tsplink.STATE_HIGH
N
The trigger line (1 to 3)
Details
Use
tsplink.writeport()
to write to all TSP-Link synchronization lines.
The reset function does not affect the present states of the TSP-Link trigger lines.
Example
lineState = tsplink.line[3].state
print(lineState)
Assume line 3 is set high, and then the state
is read.
Output:
tsplink.STATE_HIGH
Also see
(on page 14-271)
(on page 14-276)
tsplink.master
This attribute reads the node number assigned to the master node.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
masterNodeNumber
= tsplink.master
masterNodeNumber
The node number of the master node (1 to 63)
Details
This attribute returns the node number of the master in a set of instruments connected using
TSP-Link.