Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-63
for a trigger with this function, the event detector is automatically reset and ready to detect the next
trigger. This is true regardless of the number of events detected.
Example
triggered = digio.trigger[4].wait(3)
print(triggered)
Waits up to three seconds for a trigger to be detected on trigger line 4, then outputs the results.
Output if no trigger is detected:
false
Output if a trigger is detected:
true
Also see
digio.trigger[N].clear() (on page 9-56)
digio.writebit()
This function sets a digital I/O line high or low. This command is not available on the 2604B, 2614B, or 2634B.
Usage
digio.writebit(N, data)
Digital I/O trigger line (1 to 14)
The value to write to the bit:
â–ª 0 (low)
â–ª Non-zero (high)
Details
If the output line is write-protected using the digio.writeprotect attribute, the command is
ignored.
The reset() function does not affect the present state of the digital I/O lines.
Use the digio.writebit() and digio.writeport() commands to control the output state of
the synchronization line when trigger operation is set to digio.TRIG_BYPASS.
The data must be zero (0) to clear the bit. Any value other than zero (0) sets the bit.
Example
Sets digital I/O line 4 low (0).
Also see
digio.readbit() (on page 9-54)
digio.readport() (on page 9-55)
digio.trigger[N].mode (on page 9-57)
digio.writeport() (on page 9-64)
digio.writeprotect (on page 9-64)