:RELay:PATH
Syntax:
:RELay:PATH? <module_id>,<path>
Changes the physical path of one or more relay in the module (identified by a module identifier
string, see page 28).
If the module only has a single relay, the 2
nd
argument indicates the path the relay is put into. Path 1
is indicated by
1
, and so on. To disconnect all terminals from the common terminal (if supported),
use
0
.
If the module has multiple relays (which must not support disconnecting all, the 2
nd
argument is a bit
mask. The first bit is for the first relay, where a 0-bit is for path 1, and a 1-bit is for path 2.
For finer-granular access to the individual relays, use
:RELay:SWITch:PATH
(page 32).
Example command:
REL:PATH "1",3
:RELay:PATH?
Syntax:
:RELay:PATH? <module_id>
Returns the currently applied path of the relays in the module (identified by a module identifier
string, see page 28). The return value has the same semantics as explained in the
:RELay:PATH
command (page 31).
For finer-granular access to the individual relays, use
:RELay:SWITch:PATH?
(page 32).
Example query:
REL:PATH? "1"
Example response:
3
:RELay:SWITch:COUNt?
Syntax:
:RELay:SWITch:COUNt? <module_id>
Returns the number of relays in the module (identified by a module identifier string, see page 28).
Example query:
REL:SWIT:COUN? "1"
Example response:
1
:RELay:SWITch:TERMinated?
Syntax:
:RELay:SWITch:TERMinated? <relay_id>
Returns a Boolean indicating whether the relay (identified by a relay identifier string, see page 29) is
terminated or unterminated. The semantics are the same as for
:RELay:TERMinated?
(page 30).
Since all relays in a module always have the same characteristics, there are no differences to that
query.
Example query:
REL:SWIT:TERM? "1!.0"
Example response:
1
:RELay:SWITch:LATChing?
Syntax:
:RELay:SWITch:LATChing? <relay_id>
Returns a Boolean indicating whether the relay (identified by a relay identifier string, see page 29) is
latching or not. The semantics are the same as for
:RELay:LATChing?
(page 30). Since all relays
in a module always have the same characteristics, there are no differences to that query.
Example query:
REL:SWITch:LATC? "1.0"
Example response:
0
BIT-2100B User Manual
31