Digio.trigger[N].Wait(); Digio.writebit() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 7: Command reference

digio.trigger[N].wait()

This function waits for a trigger.
Type
TSP-Link accessible
Function
Yes
Usage
triggered = digio.trigger[N].wait(timeout)
triggered
N
timeout
Details
This function pauses for up to timeout seconds for an input trigger. If one or more trigger events are detected
since the last time digio.trigger[N].wait() or digio.trigger[N].clear() was called, this function
returns a value immediately. After waiting for a trigger with this function, the event detector is automatically reset
and re-armed . This is true regardless of the number of events detected.
Example
triggered = digio.trigger[4].wait(3)
print(triggered)
Also see
digio.trigger[N].clear()

digio.writebit()

This function sets a digital I/O line high or low.
Type
TSP-Link accessible
Function
Yes
Usage
digio.writebit(N, data)
N
data
7-64
Affected by
Returns true if a trigger is detected, or false if no triggers are detected during the
timeout period
Digital I/O trigger line (1 to 14)
Timeout in seconds
(on page 7-57)
Affected by
Digital I/O trigger line (1 to 14)
The value to write to the bit:
0 (low)
Non-zero (high)
Models 707B and 708B Switching Matrix Reference Manual
Where saved
Default value
Waits up to three seconds for a trigger to be
detected on trigger Line 4, then returns the
output results.
Output if no trigger is detected:
false
Output if a trigger is detected:
true
Where saved
Default value
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents