In this section:
Command programming notes ................................................. 7-1
Using the TSP command reference ......................................... 7-4
Instrument Control Library (ICL) command reference .............. 7-8
Command programming notes
Placeholder text
This manual uses italicized text to represent the parts of remote commands that must be replaced by
user specified values. The following examples show typical uses of italicized text:
Example 1:
gpib.address =
address
Where:
address
is an integer (0 to 30) that you specify. For example, to set this attribute to 15 you would
send:
gpib.address = 15
Example 2:
digio.trigger[
N
].assert()
Where:
N
is an integer (
1
to
14
) that you specify. For example, to assert trigger line 7 you would send:
digio.trigger[7].assert()
To assert a trigger line with a variable as the integer, you would send:
triggerline = 7
digio.trigger[triggerline].assert()
Example 3:
The attribute returns a string containing information about a card in a specified slot is shown as:
slot[
X
].idn
For example, to get information about the card installed in slot 1, you would send:
print(slot[1].idn)
Section 7
TSP command reference