TCP Query Input

Navigation:  Widget Designer > Nodes > Input Nodes > Connections Input >

TCP Query Input

prev main next

Navigation:  Widget Designer > Nodes > Input Nodes > Connections Input >

TCP Query Input

prev main next

Please wait. Due to its content this page might take a while to load...

The TCP Query String input node allows receiving ASCII feedback messages from TCP devices over a TCP Port connection. The TCP Port connection needs to be enabled in the Connection Manager.

This input node will output any incoming packet as Text Only, Numeric Only or mixed string.

_img796

Node Properties:

TCP Connection ID:
Enter the ID of the TCP Port Connection

Query String:
Enter the query string that you want to send to the specified TCP Device.

Interval:
Enter the time interval in ms in which the query string will be send to the TCP Device.
If you want to query the device manually (e.g. by pressing a Custom Script Button using the command “WDNodeSetParam,'NodeID','ParamID','Value'”), please set the Interval Time to 0 ms.

Message:
The response of the TCP Device will be displayed here. Please note that the responding device needs to send a "carriage return", a "line feed" or an "end of text" at the end of its message. This can be done in ASCII, decimal or hexadecimal language.
- carriage return is either [CR] or [d13] or [h0D]
- line feed is either [LF] or [d3] or [h3]
- end of text is either [ETX] or [d10] or [h0A]

Timeout:
The Timeout gives you feedback about the connection status. If Timeout is “0”, there is no communication with the specified TCP Device. If Timeout is “1” the communication works.
Confirm your settings by pressing OK or Apply.

The Node generates the following output:

- TCP Query String Response,

- TCP Query String Text Only,

- TCP Query String Numeric Only

- TCP Query String Timeout.