Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-44
2651A-901-01 Rev. A / March 2011
Example
data = digio.readport()
print(data)
Assume lines 2, 4, 6, and 8 are set high when
the I/O port is read.
Output:
1.02
This is binary 10101010
Also see
Digital I/O port
(on page 7-43)
digio.trigger[N].assert()
This function asserts a trigger on one of the digital I/O lines.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
digio.trigger[
N
].assert()
N
Digital I/O trigger line (1 to 14)
Details
The set pulsewidth determines how long the trigger is asserted.
Example
digio.trigger[2].assert()
Asserts a trigger on digital I/O line 2.
Also see
(on page 7-48)
digio.trigger[N].clear()
This function clears the trigger event on a digital I/O line.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
digio.trigger[
N
].clear()
N
Digital I/O trigger line (1 to 14)