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()
No command help available
- 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 CMX500. The host name is part of the VISA address string for LAN-based connections.
- return:
hostname: No help available
- 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:
No help available
- set_dhcp(dhcp_enable: bool) None [source]
# SCPI: SYSTem:COMMunicate:NET:DHCP driver.system.communicate.net.set_dhcp(dhcp_enable = False)
No command help available
- param dhcp_enable:
No help available
- 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:
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 CMX500. The host name is part of the VISA address string for LAN-based connections.
- param hostname:
No help available
- 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:
The 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