Net
SCPI Commands :
SYSTem:COMMunicate:NET:ADAPter
SYSTem:COMMunicate:NET:GATeway
SYSTem:COMMunicate:NET:IPADdress
SYSTem:COMMunicate:NET:HOSTname
SYSTem:COMMunicate:NET:DHCP
- class NetCls[source]
Net commands group definition. 8 total commands, 2 Subgroups, 5 group commands
- get_adapter() str [source]
# SCPI: SYSTem:COMMunicate:NET:ADAPter value: str = driver.system.communicate.net.get_adapter()
Selects a LAN network adapter for configuration via other SYSTem:COMMunicate:NET… commands.
- return:
network_adapter: No help available
- get_dhcp() bool [source]
# SCPI: SYSTem:COMMunicate:NET:DHCP value: bool = driver.system.communicate.net.get_dhcp()
Enables or disables the dynamic host configuration protocol (DHCP) .
- return:
dhcp_enable: No help available
- get_gateway() List[str] [source]
# SCPI: SYSTem:COMMunicate:NET:GATeway value: List[str] = driver.system.communicate.net.get_gateway()
Manually defines IPv4 addresses of default gateways. A query returns the currently defined addresses, irrespective of whether they have been specified manually or via DHCP.
- return:
gateways: No help available
- get_hostname() str [source]
# SCPI: SYSTem:COMMunicate:NET:HOSTname value: str = driver.system.communicate.net.get_hostname()
Queries the host name (computer name) of the R&S CMW. The host name is part of the VISA address string for LAN-based connections.
- return:
hostname: string
- get_ip_address() List[str] [source]
# SCPI: SYSTem:COMMunicate:NET:IPADdress value: List[str] = driver.system.communicate.net.get_ip_address()
Manually assigns one or more IPv4 addresses to the network adapter. A query returns the currently assigned addresses, irrespective of whether they have been assigned manually or via DHCP.
- return:
ip_addresses: No help available
- set_adapter(network_adapter: str) None [source]
# SCPI: SYSTem:COMMunicate:NET:ADAPter driver.system.communicate.net.set_adapter(network_adapter = 'abc')
Selects a LAN network adapter for configuration via other SYSTem:COMMunicate:NET… commands.
- param network_adapter:
string
- set_dhcp(dhcp_enable: bool) None [source]
# SCPI: SYSTem:COMMunicate:NET:DHCP driver.system.communicate.net.set_dhcp(dhcp_enable = False)
Enables or disables the dynamic host configuration protocol (DHCP) .
- param dhcp_enable:
ON | OFF | 1 | 0 ON | 1: DHCP enabled, automatic TCP/IP address configuration. OFF | 0: DHCP disabled, manual address configuration.
- set_gateway(gateways: List[str]) None [source]
# SCPI: SYSTem:COMMunicate:NET:GATeway driver.system.communicate.net.set_gateway(gateways = ['abc1', 'abc2', 'abc3'])
Manually defines IPv4 addresses of default gateways. A query returns the currently defined addresses, irrespective of whether they have been specified manually or via DHCP.
- param gateways:
string Gateway IPv4 address consisting of four blocks separated by dots Several strings separated by commas can be entered or several addresses separated by commas can be included in one string.
- set_hostname(hostname: str) None [source]
# SCPI: SYSTem:COMMunicate:NET:HOSTname driver.system.communicate.net.set_hostname(hostname = 'abc')
Queries the host name (computer name) of the R&S CMW. The host name is part of the VISA address string for LAN-based connections.
- param hostname:
string
- set_ip_address(ip_addresses: List[str]) None [source]
# SCPI: SYSTem:COMMunicate:NET:IPADdress driver.system.communicate.net.set_ip_address(ip_addresses = ['abc1', 'abc2', 'abc3'])
Manually assigns one or more IPv4 addresses to the network adapter. A query returns the currently assigned addresses, irrespective of whether they have been assigned manually or via DHCP.
- param ip_addresses:
string IPv4 address consisting of four blocks (octets) separated by dots Several strings separated by commas can be entered or several addresses separated by commas can be included in one string.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.system.communicate.net.clone()
Subgroups