Lan

SCPI Commands

SYSTem:COMMunicate:LAN:DHCP
SYSTem:COMMunicate:LAN:ADDRess
SYSTem:COMMunicate:LAN:SMASk
SYSTem:COMMunicate:LAN:DGATeway
SYSTem:COMMunicate:LAN:HOSTname
SYSTem:COMMunicate:LAN:MAC
SYSTem:COMMunicate:LAN:RESet
SYSTem:COMMunicate:LAN:EDITed
class LanCls[source]

Lan commands group definition. 10 total commands, 2 Subgroups, 8 group commands

get_address() str[source]
# SCPI: SYSTem:COMMunicate:LAN:ADDRess
value: str = driver.system.communicate.lan.get_address()

Sets the IP address.

return:

ip_address: No help available

get_dgateway() str[source]
# SCPI: SYSTem:COMMunicate:LAN:DGATeway
value: str = driver.system.communicate.lan.get_dgateway()

Sets the IP address of the default gateway.

return:

gateway: No help available

get_dhcp() bool[source]
# SCPI: SYSTem:COMMunicate:LAN:DHCP
value: bool = driver.system.communicate.lan.get_dhcp()

No command help available

return:

enable: No help available

get_edited() bool[source]
# SCPI: SYSTem:COMMunicate:LAN:EDITed
value: bool = driver.system.communicate.lan.get_edited()

No command help available

return:

result: No help available

get_hostname() str[source]
# SCPI: SYSTem:COMMunicate:LAN:HOSTname
value: str = driver.system.communicate.lan.get_hostname()

Sets an individual hostname for the R&S LCX.

return:

device_hostname: No help available

get_mac() str[source]
# SCPI: SYSTem:COMMunicate:LAN:MAC
value: str = driver.system.communicate.lan.get_mac()

Queries the MAC address of the network.

return:

result: No help available

get_smask() str[source]
# SCPI: SYSTem:COMMunicate:LAN:SMASk
value: str = driver.system.communicate.lan.get_smask()

Sets the subnet mask.

return:

subnet_mask: No help available

reset() None[source]
# SCPI: SYSTem:COMMunicate:LAN:RESet
driver.system.communicate.lan.reset()

Terminates the network configuration and restarts the network.

reset_with_opc(opc_timeout_ms: int = -1) None[source]
# SCPI: SYSTem:COMMunicate:LAN:RESet
driver.system.communicate.lan.reset_with_opc()

Terminates the network configuration and restarts the network.

Same as reset, but waits for the operation to complete before continuing further. Use the RsLcx.utilities.opc_timeout_set() to set the timeout value.

param opc_timeout_ms:

Maximum time to wait in milliseconds, valid only for this call.

set_address(ip_address: str) None[source]
# SCPI: SYSTem:COMMunicate:LAN:ADDRess
driver.system.communicate.lan.set_address(ip_address = '1')

Sets the IP address.

param ip_address:

No help available

set_dgateway(gateway: str) None[source]
# SCPI: SYSTem:COMMunicate:LAN:DGATeway
driver.system.communicate.lan.set_dgateway(gateway = '1')

Sets the IP address of the default gateway.

param gateway:

No help available

set_dhcp(enable: bool) None[source]
# SCPI: SYSTem:COMMunicate:LAN:DHCP
driver.system.communicate.lan.set_dhcp(enable = False)

No command help available

param enable:

No help available

set_hostname(device_hostname: str) None[source]
# SCPI: SYSTem:COMMunicate:LAN:HOSTname
driver.system.communicate.lan.set_hostname(device_hostname = '1')

Sets an individual hostname for the R&S LCX.

param device_hostname:

No help available

set_smask(subnet_mask: str) None[source]
# SCPI: SYSTem:COMMunicate:LAN:SMASk
driver.system.communicate.lan.set_smask(subnet_mask = '1')

Sets the subnet mask.

param subnet_mask:

No help available

Subgroups