User manual
Section 13: Instrument Control Library (ICL)  Series 3700 System Switch/Multimeter Reference Manual 
13-88  3700S-901-01 Rev. C / July 2008 
digio.readport() 
Example 
Assume lines 2, 4, 6 and 8 are set high, and the I/O port is then read: 
data = digio.readport() 
print(data) 
Output: 1.700000e+02 (binary 10101010) 
digio.trigger[N].assert() 
Function 
Asserts a trigger on one of the digital I/O lines. 
Usage 
digio.trigger[N].assert() 
N: Digital I/O trigger line: 1 to 14 
Remarks 
The set pulsewidth determines how long the trigger is asserted. 
Also see 
digio.trigger[N].pulsewidth (on page 13-90) 
Example 
Asserts trigger on I/O line 2: 
digio.trigger[2].assert() 
digio.trigger[N].clear() 
Function 
Clears a trigger event on a digital I/O line. 
Usage 
digio.trigger[N].clear() 
N: Digital I/O trigger line: 1 to 14 
Remarks 
A trigger's event detector remembers if a trigger event has been detected since the 
last digio.trigger[N].wait call. This function clears a trigger's event detector and 
discards the previous history of the trigger line. 
Also see 
digio.trigger[N].wait()  (on page 13-92) 
Example 
Clears trigger event on I/O line 2: 
digio.trigger[2].clear() 
digio.trigger[N].mode 
Attribute 
Controls the mode in which the trigger event detector as well as the output trigger 
generator will operate on the given trigger line. 










