Socket

SCPI Commands

SYSTem:COMMunicate:SOCKet:DHCP
SYSTem:COMMunicate:SOCKet:IPADdress
SYSTem:COMMunicate:SOCKet:MASK
SYSTem:COMMunicate:SOCKet:GATeway
SYSTem:COMMunicate:SOCKet:RESet
class SocketCls[source]

Socket commands group definition. 7 total commands, 2 Subgroups, 5 group commands

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

Sets the LAN interface mode.

return

arg_0: No help available

get_gateway() str[source]
# SCPI: SYSTem:COMMunicate:SOCKet:GATeway
value: str = driver.system.communicate.socket.get_gateway()

Sets or queries gateway for LAN.

return

arg_0: No help available

get_ip_address() str[source]
# SCPI: SYSTem:COMMunicate:SOCKet:IPADdress
value: str = driver.system.communicate.socket.get_ip_address()

Sets or queries IP address of the LAN interface.

return

arg_0: No help available

get_mask() str[source]
# SCPI: SYSTem:COMMunicate:SOCKet:MASK
value: str = driver.system.communicate.socket.get_mask()

Sets or queries the subnet mask for LAN.

return

arg_0: No help available

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

Resets LAN settings.

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

Resets LAN settings.

Same as reset, but waits for the operation to complete before continuing further. Use the RsNgx.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_dhcp(arg_0: bool) None[source]
# SCPI: SYSTem:COMMunicate:SOCKet:DHCP
driver.system.communicate.socket.set_dhcp(arg_0 = False)

Sets the LAN interface mode.

param arg_0
  • 1: DHCP is enabled.Automatic IP address from DHCP server.

  • 0: DHCP is disabled.Manually set IP address.

set_gateway(arg_0: str) None[source]
# SCPI: SYSTem:COMMunicate:SOCKet:GATeway
driver.system.communicate.socket.set_gateway(arg_0 = '1')

Sets or queries gateway for LAN.

param arg_0

Gateway address.

set_ip_address(arg_0: str) None[source]
# SCPI: SYSTem:COMMunicate:SOCKet:IPADdress
driver.system.communicate.socket.set_ip_address(arg_0 = '1')

Sets or queries IP address of the LAN interface.

param arg_0

IP address.

set_mask(arg_0: str) None[source]
# SCPI: SYSTem:COMMunicate:SOCKet:MASK
driver.system.communicate.socket.set_mask(arg_0 = '1')

Sets or queries the subnet mask for LAN.

param arg_0

Subnet address.

Subgroups