:SYST:COMM:SWIT:LOCK

Type

Command/Query

Syntax

:SYSTem:COMMunicate:SWITch<Sw>:LOCK {ON|OFF|1|0}

:SYSTem:COMMunicate:SWITch<Sw>:LOCK?

Description

This command sets/gets Lock USB Switch local control (<Sw>: 1 or 2).

Variable

Parameter

Selection Option

Description

lock USB switch

Data Type

Boolean type (Boolean)

Range

ON|OFF|1|0

Query Response

{1|0}<newline><^END>

Examples

Dim Var as String
Var = 1
Ena.WriteString ":SYST:COMM:SWIT:LOCK " & Str(Var), True
Ena.WriteString ":SYST:COMM:SWIT:LOCK?", True
Var=Ena.ReadNumber

Equivalent Softkey

System > USB Switch Setup > USB Switch n > Lock Local Control

COM Command Syntax (Internal Control Only)

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