Section 7
Command reference
In this section:
Command programming notes................................... 7-1
Using the Instrument Control Library documentation . 7-4
Instrument Control Library (ICL) command reference 7-8
Command programming notes
Placeholder characters
The following table lists conventions used in this documentation to emphasize certain parts of the
command structure.
Conventions used in this documentation
Convention
What it represents
Examples
Italicized text
Signifies user-defined parameters.
gpib.address = address
Where:
address
is an integer (
0
to
30
) that you
specify
Brackets [ ]
Contains placeholder characters for
user-defined parameters that must be replaced
with a value in the actual code.
NOTE
Do not send placeholder characters
(
N
,
M
,
X
,
Y
) to the instrument.
They are used in this
documentation for notational
convenience only.
The placeholder characters used in this
documentation:
[N]
is typically used with triggers
[M]
is typically used with trigger blender
functions to indicate the stimulus
[X]
is typically used to indicate the slot
[Y]
is typically used to indicate a limit number
The function to assert an output trigger is shown as:
digio.trigger[N].assert
For example, to program the Model 707B or 708B to
assert an output trigger on trigger line 5, you would
send:
digio.trigger[5].assert()
The attribute return a string containing information
about a card in a specified slot is shown as:
slot[X].idn
For example, to get information about card installed
in slot 1, you would send:
print(slot[1].idn)
Syntax rules
The following table lists syntax requirements to build well-formed instrument control commands.