Tsplink.readbit() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
Usage
nodeNumber = tsplink.node
tsplink.node = nodeNumber
nodeNumber
Details
This attribute sets the TSP-Link node number and saves the value in nonvolatile memory.
Changes to the node number do not take effect until the next time tsplink.reset() is executed on any node
in the system.
Each node connected to the TSP-Link must be assigned a different node number.
Example
tsplink.node = 2
Also see
tsplink.reset()
tsplink.state

tsplink.readbit()

This function reads the state of a TSP-Link synchronization line.
Type
TSP-Link accessible
Function
Yes
Usage
data = tsplink.readbit(N)
data
N
Details
Returns a value of 0 if the line is low and 1 if the line is high.
Example
data = tsplink.readbit(3)
print(data)
Also see
tsplink.readport()
tsplink.writebit()
7-348
Model 2651A High Power System SourceMeter® Instrument Reference Manual
Set node to a number (1 to 64)
(on page 7-349)
(on page 7-350)
Affected by
A custom variable that stores the state of the synchronization line
The trigger line (1 to 3)
(on page 7-349)
(on page 7-359)
Sets the TSP-Link node to number 2.
Where saved
Default value
Assume Line 3 is set high, and it is then read.
Output
1.000000e+00
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents