Skip to content

TcpIpCommunicatorConfiguration#

This is the class for the configuration for a TCP/IP communicator. This class inherits from CommunicatorConfiguration.


constructor TcpIpCommunicatorConfiguration(host_name: str, port: int, timeout_in_seconds: int, termination_character: str)#

Configuration for a TCP/IP communicator in Python.

Parameters#

Name Description
host_name The host name or IP address of the target device.
port The port number of the target device.
timeout_in_seconds The timeout for communication in seconds. Default: 30
termination_character The termination character used in SendLine(). Default: \n

property host_name#

Queries the host name.

Returns#

Type Description
str The host name.

property port#

Queries the port.

Returns#

Type Description
int The port.