
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-48
Document Number: 3700S-901-01 Rev. A / August 2007
delay function
This function is used to hold up system operation for a specified period of time. It is typically
used to soak a device at a specific voltage or current for a period of time.
delay
Function
Delays system operation.
Usage
delay(seconds)
seconds
: Set delay in seconds (100000 seconds maximum).
Remarks
This function will cause a delay for the specified number of seconds. It is
impossible to delay for zero seconds.
Delays smaller than 50µs (seconds) will be dominated by overhead such that the
actual delay might be as long as 50µs (typical). For delays longer than 50µs, the
delay may be as much as 10µs (typical) more than the requested delay.
Example
To pause program execution for 50ms:
delay(0.050)
digio functions and attributes
Use the functions and attributes in this group to control read/write and trigger operations for the
digital I/O Port.
NOTE
The digital I/O lines can be used for both input and output. If a line is being driven low,
then a "0" value will be read by a command for that line. You must write a "1" to all
digital I/O lines that are to be used as inputs.
digio.readbit
Function
Reads one digital I/O line.
Usage
data = digio.readbit(N)
N
: Digital I/O line number to be read (1 to 14).
Remarks
A returned value of "0" indicates that the line is low. A returned value of "1" indicates
that the line is high.
Details
See " Digital I/O port ".
Also see
digio.readport
(on page 9-49),
digio.writebit
(on page 9-53),
digio.writeport
(on page 9-
53)