Relay Identifier Strings
Some of the SCPI commands act on a module, and require a
module identifier string
to identify that
module.
A relay can either be identified by its index, or by a module identifier, followed its index within a
module:
•
"<relayindex>"
: the index of the relay (0-based), regardless in which module or slot it
is mounted (i.e. empty slots are not counted)
•
"<moduleindex>.<relayindex>"
: the index of the module (0-based), regardless in
which slot it is mounted (i.e. empty slots are not counted), followed by a period, and the
index of the relay (0-based) on that particular module
•
"<slotindex>!.<relayindex>"
: the index of the slot (0-based) in which the module
is mounted; slave frames start at 5, followed by a period, and the index of the relay (0-
based) on that particular module
For some examples of relay identifier strings, see figure 10.
Example for the usage of relay identifier strings:
•
:REL:SWIT:NCYC? "2.2"
returns the switch cycle counter of the 3
rd
relay in the 3
rd
module (see also page 32)
If an identifier is provided that does not match any relay, an error is caused.
BIT-2100B User Manual
29
Figure 10: Relay identifier string examples