Tsplink.trigger[N].Wait(); Tsplink.writebit() - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Section 7: TSP command reference

tsplink.trigger[N].wait()

This function waits for a trigger. This function is not available on the Models 2604B/2614B/2634B.
Type
TSP-Link accessible
Function
Yes
Usage
triggered = tsplink.trigger[N].wait(timeout)
triggered
N
timeout
Details
This function waits up to the timeout value for an input trigger. If one or more trigger events were detected since
the last time tsplink.trigger[N].wait() or tsplink.trigger[N].clear() was called, this function
returns immediately.
After waiting for a trigger with this function, the event detector is automatically reset and rearmed. This is true
regardless of the number of events detected.
Example
triggered = tsplink.trigger[3].wait(10)
print(triggered)
Also see
tsplink.trigger[N].clear()

tsplink.writebit()

This function sets a TSP-Link synchronization line high or low. This function is not available on the Models
2604B/2614B/2634B.
Type
TSP-Link accessible
Function
Yes
Usage
tsplink.writebit(N, data)
N
data
7-364
Series 2600B System SourceMeter® Instrument Reference Manual
Affected by
Trigger detection indication; set to one of the following values:
true: A trigger is detected during the timeout period
false: A trigger is not detected during the timeout period
The trigger line (1 to 3)
The timeout value in seconds
(on page 7-356)
Affected by
The trigger line (1 to 3)
The value to write to the bit:
Low: 0
High: 1
Where saved
Default value
Waits up to 10 seconds for a trigger
on TSP-Link
If false is returned, no trigger was
detected during the 10-second
timeout.
If true is returned, a trigger was
detected.
Where saved
Default value
2600BS-901-01 Rev. B / May 2013
®
line 3.

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents