Tsp-Link Nodes - 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)
Variable assignment example:
The following command reads the filter type by assigning the attribute to a variable named
filtertype:
filtertype = dmm.filter.type
Syntax rules

TSP-Link nodes

Each instrument or enclosure attached to the TSP-Link bus must be uniquely identified. This
identification is called a TSP-Link node number, and the enclosures are called nodes. Each
node must be assigned a unique node number.
From a TSP point of view, nodes look like tables. There is one global table named node that
contains all the actual nodes that are themselves tables. An individual node is accessed as
"node[N]" where N is the node number assigned to the node. Each node has certain attributes
that can be accessed as elements of its associated table. These are listed as follows:
id: The node number assigned to the node.
model: The product model number string of the node.
revision: The product revision string of the node.
serialno: The product serial number string of the node.
There is also an entry for each logical instrument on the node (see
9-5)).
It is not necessary to know the node number of the node running a script. The variable
localnode is an alias for the node entry the script is running on. For example, if a script is
running on node 5, the global variable localnode will be an alias for node[5].
9-4
Commands for functions and attributes are case sensitive. As a general rule, all function
and attribute names must be in lower case, while parameters use a combination of lower
and upper case characters. Upper case characters are required for attribute constants.
Example:
dmm.func = dmm.DC_VOLTS
In the above command to select the DC volts measure function, dmm.DC_VOLTS is the
attribute constant.
Whitespace in a function is not required. The function to set digital I/O line 3 low can be
sent with or without whitespaces as follows:
digio.writebit(3,0) Whitespaces NOT used in string.
digio.writebit (3, 0) Whitespaces used in string.
Some commands require multiple parameters. Multiple parameters must be separated
), as shown above for the digio.writebit function.
by commas (
,
Series 3700 System Switch/Multimeter Reference Manual
Logical instruments
Document Number: 3700S-901-01 Rev. A / August 2007
(on page

Advertisement

Table of Contents
loading

Table of Contents