Querying
Assume that you are using an instrument with the following configuration:
•
1
st
slot: 4:1, terminated
•
2
nd
slot: empty
•
3
rd
slot: 6:1, unterminated
•
4
th
slot: empty
•
5
th
slot: 2x 2:1, unterminated
If you query the configuration with the following command:
:SYST:CONF?
You will get the response
0 = 1x4:1*-T; 2 = 1x6:1*-UT; 4 = 2x2:1-UT
.
As noted earlier, it is recommended to query errors after every command or query, so the complete
set of SCPI commands should be:
:SYST:CONF?
:SYST:ERR?
For the sake of brevity, error queries will be omitted in subsequent examples.
Switching
Assume you want to put the modules into following paths:
•
1
st
slot: path 2
•
3
rd
slot: path 0 (i.e. disconnect all terminals)
•
5
th
slot:
◦
1
st
relay: path 1
◦
2
nd
relay: path 2
In order to do so, you could use the following series of SCPI commands:
*RST
:REL:SWIT:PATH "0!.0",2
:REL:SWIT:PATH "2!.0",0
:REL:SWIT:PATH "4!.0",1
:REL:SWIT:PATH "4!.1",2
As mentioned earlier, querying errors after each command (i.e. 5 times total in this example) is
recommended.
BIT-2100B User Manual
37