User manual
Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-2 3700S-901-01 Rev. C / July 2008
[N]
The N character, enclosed by brackets ([ ]), is used in functions and attributes
for the digital I/O line (1 to 14). For example, the function to assert an output
trigger is generically expressed as follows:
digio.trigger[N].assert
To program the Series 3700 to assert an output trigger on trigger line 5, the
following command statement is sent to the instrument:
digio.trigger[5].assert()
NOTE The wild character N should NOT to be sent to the instrument.
However, the brackets ( [ ] ) must be included in the command. Also,
note that the above command requires that a set of open and closed
parenthesis ( () ) be appended to the function (see Functions (on page
13-2)).
Functions and attributes
Commands can be function-based or attribute-based.
Functions
Function-based commands are used to control actions or activities. For
example, performing a voltage measurement is a function (action). A function
based command is not always directly related to a Series 3700 operation. For
example, the bit.bitand function will logically AND two numbers.
Each function consists of a function name followed by a set of parenthesis ( () ).
If the function does not have a parameter, the parenthesis set is left empty.
Examples:
digio.writeport(15) ' Sets digital I/O lines 1, 2, 3, and 4
high.
digio.writebit(3, 0) ' Sets line 3 low (0).
dmm.reset('all') ' Returns the DMM to its default
settings.
digio.readport() ' Reads the digital I/O port.