Functions And Attributes - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 9: Instrument Control Library (ICL)
X and Y
The X character is used for functions and attributes to indicate the slot (1 through 6) and Y is
used to indicate the limit number (1 or 2). For example, the attribute for the limit 2 number
testing is generically expressed as follows:
dmm.limit[Y].enable
To enable limit 2, send the following command statement to the instrument:
dmm.limit[2].enable = dmm.ON
To query for idn information for the card in Slot 1, send the following command statement to the
instrument:
card1_idn = slot[1].idn
The wild characters X and/or Y are NEVER sent to the instrument. They are used in this
command reference for notational convenience only.
[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

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:
9-2
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 9-2) in following subsection).
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents