Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
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
Attribute (RW)
Yes
Not applicable
Nonvolatile memory
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 8-348)
(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
masterNodeNumber
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
(on page 8-347)