Swunit

SCPI Commands :

[SOURce<HW>]:AREGenerator:SWUNit:HOSTname
[SOURce<HW>]:AREGenerator:SWUNit:RX
[SOURce<HW>]:AREGenerator:SWUNit:STATus
[SOURce<HW>]:AREGenerator:SWUNit:TX
class SwunitCls[source]

Swunit commands group definition. 16 total commands, 5 Subgroups, 4 group commands

get_hostname() str[source]
# SCPI: [SOURce<HW>]:AREGenerator:SWUNit:HOSTname
value: str = driver.source.areGenerator.swunit.get_hostname()

Sets the IP address or hostname of the connected switching unit in the test setup.

return:

areg_swunit_host: string

get_rx() str[source]
# SCPI: [SOURce<HW>]:AREGenerator:SWUNit:RX
value: str = driver.source.areGenerator.swunit.get_rx()

Requires [:SOURce<hw>]:AREGenerator:OSETup:SWUNit[:STATe] 1. Selects the switching unit connector (relay) of the switching unit connected to the RX channel of the R&S AREG800A. Enter the name of the relay of the switching unit to connect to the RX channel.

return:

areg_swunit_rx_ch: string

get_status() str[source]
# SCPI: [SOURce<HW>]:AREGenerator:SWUNit:STATus
value: str = driver.source.areGenerator.swunit.get_status()

Queries the status of the switching unit. Displays if the switching unit is connected or disconnected.

return:

areg_sw_unit_status: string

get_tx() str[source]
# SCPI: [SOURce<HW>]:AREGenerator:SWUNit:TX
value: str = driver.source.areGenerator.swunit.get_tx()

Requires [:SOURce<hw>]:AREGenerator:OSETup:SWUNit[:STATe] 1. Selects the switching unit connector (relay) of the switching unit connected to the TX channel of the R&S AREG800A. Enter the name of the relay of the switching unit to connect to the TX channel.

return:

areg_swunit_tx_ch: string

set_hostname(areg_swunit_host: str) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:SWUNit:HOSTname
driver.source.areGenerator.swunit.set_hostname(areg_swunit_host = 'abc')

Sets the IP address or hostname of the connected switching unit in the test setup.

param areg_swunit_host:

string

set_rx(areg_swunit_rx_ch: str) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:SWUNit:RX
driver.source.areGenerator.swunit.set_rx(areg_swunit_rx_ch = 'abc')

Requires [:SOURce<hw>]:AREGenerator:OSETup:SWUNit[:STATe] 1. Selects the switching unit connector (relay) of the switching unit connected to the RX channel of the R&S AREG800A. Enter the name of the relay of the switching unit to connect to the RX channel.

param areg_swunit_rx_ch:

string

set_tx(areg_swunit_tx_ch: str) None[source]
# SCPI: [SOURce<HW>]:AREGenerator:SWUNit:TX
driver.source.areGenerator.swunit.set_tx(areg_swunit_tx_ch = 'abc')

Requires [:SOURce<hw>]:AREGenerator:OSETup:SWUNit[:STATe] 1. Selects the switching unit connector (relay) of the switching unit connected to the TX channel of the R&S AREG800A. Enter the name of the relay of the switching unit to connect to the TX channel.

param areg_swunit_tx_ch:

string

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.source.areGenerator.swunit.clone()

Subgroups