Network

SCPI Commands :

SYSTem:COMMunicate:BB<HW>:NETWork:BUSY
SYSTem:COMMunicate:BB<HW>:NETWork:MACaddress
SYSTem:COMMunicate:BB<HW>:NETWork:PORT
SYSTem:COMMunicate:BB<HW>:NETWork:PROTocol
SYSTem:COMMunicate:BB<HW>:NETWork:STATus
class NetworkCls[source]

Network commands group definition. 12 total commands, 3 Subgroups, 5 group commands

get_busy() bool[source]
# SCPI: SYSTem:COMMunicate:BB<HW>:NETWork:BUSY
value: bool = driver.system.communicate.bb.network.get_busy()

No command help available

return

state: No help available

get_mac_address() str[source]
# SCPI: SYSTem:COMMunicate:BB<HW>:NETWork:MACaddress
value: str = driver.system.communicate.bb.network.get_mac_address()

Queries the MAC address of the network adapter. This is a password-protected function. Unlock the protection level 1 to access it, see method RsSmw.System.Protect.State.set in the R&S SMW user manual.

return

mac_address: string

get_port() int[source]
# SCPI: SYSTem:COMMunicate:BB<HW>:NETWork:PORT
value: int = driver.system.communicate.bb.network.get_port()

Sets the port address use for network traffic.

return

port: integer Range: 0 to 65536

get_protocol() RsSmw.enums.NetProtocol[source]
# SCPI: SYSTem:COMMunicate:BB<HW>:NETWork:PROTocol
value: enums.NetProtocol = driver.system.communicate.bb.network.get_protocol()

Selects the communication protocol for the network traffic.

return

protocol: UDP| TCP

get_status() bool[source]
# SCPI: SYSTem:COMMunicate:BB<HW>:NETWork:STATus
value: bool = driver.system.communicate.bb.network.get_status()

Queries the network configuration state.

return

state: 1| ON| 0| OFF

set_mac_address(mac_address: str) None[source]
# SCPI: SYSTem:COMMunicate:BB<HW>:NETWork:MACaddress
driver.system.communicate.bb.network.set_mac_address(mac_address = 'abc')

Queries the MAC address of the network adapter. This is a password-protected function. Unlock the protection level 1 to access it, see method RsSmw.System.Protect.State.set in the R&S SMW user manual.

param mac_address

string

set_port(port: int) None[source]
# SCPI: SYSTem:COMMunicate:BB<HW>:NETWork:PORT
driver.system.communicate.bb.network.set_port(port = 1)

Sets the port address use for network traffic.

param port

integer Range: 0 to 65536

set_protocol(protocol: RsSmw.enums.NetProtocol) None[source]
# SCPI: SYSTem:COMMunicate:BB<HW>:NETWork:PROTocol
driver.system.communicate.bb.network.set_protocol(protocol = enums.NetProtocol.TCP)

Selects the communication protocol for the network traffic.

param protocol

UDP| TCP

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.system.communicate.bb.network.clone()

Subgroups