Skip to content

CommunicatorConfiguration#

This is the generic configuration class for communication with any device.


constructor CommunicatorConfiguration()#

This is the generic configuration class for communication with any device.


property caption#

The description for the communication interface.

Returns#

Type Description
str The description for the communication interface.

property communicator_type#

The type of the communicator.

Returns#

Type Description
CommunicatorType The type of the communicator.

property encoding#

Gets or sets the encoding, that should be used by the communicator.

Returns#

Type Description
str The encoding of the communicator.

property is_discard_called_in_query#

Specifies whether the input buffer should be cleared using Discard() within the Query() method before sending the actual request.

Returns#

Type Description
bool True if discard is called in query otherwise False .

property is_send_receive_log_enabled#

If this flag is set, communication is written to the log file.

Returns#

Type Description
bool True if send-receive-log is enabled otherwise False .

property send_receive_log_max_length#

Returns the number of characters written to the log from sent and received strings when IsSendReceiveLogEnabled() is enabled. The rest is truncated.

Returns#

Type Description
int The max-length of the send-receive-log.

property termination_character#

The terminator character is used in SendLine() when set.

Returns#

Type Description
str The termination character.