User manual

Chapter 2 Command System RIGOL
DSA700 Programming Guide 2-175
:SYSTem:TX:SWset
Syntax
:SYSTem:TX:SWset <SW1|SW2|SW3|SW4|SW5>,OFF|ON|0|1
Description
Set the on/off status of TX1000.
Parameter
Name
Type
Range
Default
--
Keyword SW1|SW2|SW3|SW4|SW5 --
-- Bool OFF|ON|0|1 OFF|0
Explanation
SW1 to SW5 represents the 5 switches of TX1000 respectively.
This command is only available when TX1000 is connected.
Example
The command below sets switch 1 to on.
:SYSTem:TX:SWset SW1,ON or :SYSTem:TX:SWset SW1,1
:SYSTem:TX:SWSTa?
Syntax
:SYSTem:TX:SWSTa? <SW1|SW2|SW3|SW4|SW5>
Description
Query the on/off status of TX1000.
Parameter
Name
Type
Range
Default
-- Keyword SW1|SW2|SW3|SW4|SW5 --
Explanation
SW1 to SW5 represents the 5 switches of TX1000 respectively.
This command is only available when TX1000 is connected.
Return Format
The query returns 0 or 1.