Command/Query
:SYSTem:COMMunicate:SWITch<Sw>:DSET <Pt1>, <Pt2>
:SYSTem:COMMunicate:SWITch<Sw>:DSET?
This command sets/gets the USB switch information (<Sw>: 1 or 2) by one command. :SYST:COMM:SWIT:PATH can be set one by one. This function is added at the revision A.2.0x.
Parameter |
Pt1 |
Description |
USB switch port number for Path1 |
Data Type |
Numeric type (Integer) |
Range |
0 to 6 (0: Open) |
Parameter |
Pt2 |
Description |
USB switch port number for path2 |
Data Type |
Numeric type (Integer) |
Range |
0 to 6 (0: Open) |
<Path1>, <Path2><newline><^END>
Dim Var as Variant
Ena.WriteString ":SYST:COMM:SWIT1:DSET 1,2" & Var, True
Ena.WriteString ":SYST:COMM:SWIT:DEF?", True
Var=Ena.ReadList
System > USB Switch Setup > USB Switch n > Path n.
SCPI.SYSTEM.COMMUNICATE.SWITCH(Sw).DSET