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
- Commands in total: 12Subgroups: 3Direct child commands: 5
- get_busy() bool[source]
# SYSTem:COMMunicate:BB<HW>:NETWork:BUSY value: bool = driver.system.communicate.bb.network.get_busy()
No help available
- get_mac_address() str[source]
# 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 SMW200A user manual.- Returns:
mac_address: string
- get_port() int[source]
# SYSTem:COMMunicate:BB<HW>:NETWork:PORT value: int = driver.system.communicate.bb.network.get_port()
Sets the port address use for network traffic.
- Returns:
port: integer Range: 0 to 65536
- get_protocol() NetProtocol[source]
# SYSTem:COMMunicate:BB<HW>:NETWork:PROTocol value: enums.NetProtocol = driver.system.communicate.bb.network.get_protocol()
Selects the communication protocol for the network traffic.
- Returns:
protocol: UDP | TCP
- get_status() bool[source]
# SYSTem:COMMunicate:BB<HW>:NETWork:STATus value: bool = driver.system.communicate.bb.network.get_status()
Queries the network configuration state.
- Returns:
state: 1 | ON | 0| OFF
- set_mac_address(mac_address: str) None[source]
# 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 SMW200A user manual.- Parameters:
mac_address – string
- set_port(port: int) None[source]
# SYSTem:COMMunicate:BB<HW>:NETWork:PORT driver.system.communicate.bb.network.set_port(port = 1)
Sets the port address use for network traffic.
- Parameters:
port – integer Range: 0 to 65536
- set_protocol(protocol: NetProtocol) None[source]
# 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.
- Parameters:
protocol – UDP | TCP
Cloning the Group
# Create a copy of the original group, that exists independently
network_copy = driver.system.communicate.bb.network.clone()
Subgroups