:SYST:COMM:SWIT:DSET

Type

Command/Query

Syntax

:SYSTem:COMMunicate:SWITch<Sw>:DSET <Pt1>, <Pt2>
:SYSTem:COMMunicate:SWITch<Sw>:DSET?

Description

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.

Variable

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)

Query Response

<Path1>, <Path2><newline><^END>

Examples

Dim Var as Variant
Ena.WriteString ":SYST:COMM:SWIT1:DSET 1,2" & Var, True
Ena.WriteString ":SYST:COMM:SWIT:DEF?", True
Var=Ena.ReadList

Related Commands

:SYST:COMM:SWIT:PATH

Equivalent Softkey

System > USB Switch Setup > USB Switch n > Path n.

COM Command Syntax (Internal Control Only)

SCPI.SYSTEM.COMMUNICATE.SWITCH(Sw).DSET