Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-396 2600BS-901-01 Rev. F/August 2021
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)
Waits up to 10 seconds for a trigger on TSP-Link
®
line 3.
If false is returned, no trigger was detected during the 10-second timeout.
If true is returned, a trigger was detected.
Also see
tsplink.trigger[N].clear() (on page 9-388)
tsplink.writebit()
This function sets a TSP-Link trigger line high or low. This command is not available on the 2604B, 2614B,
or 2634B.
Usage
tsplink.writebit(N, data)
The trigger line (1 to 3)
The value to write to the bit:
â–ª Low: 0
â–ª High: 1
Details
Use tsplink.writebit() and tsplink.writeport() to control the output state of the trigger
line when trigger operation is set to tsplink.TRIG_BYPASS.
If the output line is write-protected by the tsplink.writeprotect attribute, this command
is ignored.
The reset function does not affect the present states of the TSP-Link trigger lines.
Example
Sets trigger line 3 low (0).