8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-350 DMM7510-901-01 Rev. B / May 2015
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
Usage
lineState = tsplink.line[N].state
tsplink.line[N].state = lineState
The state of the synchronization line:
• Low: tsplink.STATE_LOW
• High:
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:
Also see
tsplink.line[N].mode (on page 8-348)
tsplink.writeport() (on page 8-352)
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
The node number of the master node (1 to 64)
Details
This attribute returns the node number of the master in a set of instruments connected using TSP-
Link.
Example
LinkMaster = tsplink.master
Store the TSP-Link master node number in a
variable called LinkMaster.
Also see
tsplink.initialize() (on page 8-347)