receive_tuple🔗
Short description🔗
receive_tuple — Receive a tuple over a socket connection.
Signature🔗
receive_tuple( socket Socket, out string Tuple )
Description🔗
receive_tuple reads a Tuple that was sent over the socket
connection determined by Socket by another HALCON process
using the operator send_tuple.
If no tuple has been sent, the HALCON process calling receive_tuple
blocks until enough data arrives.
For a detailed example, see open_socket_accept.
Attention🔗
receive_tuple does not allow receiving tuples containing
HALCON handles.
Execution information🔗
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parameters🔗
Socket (input_control) socket → (handle)
Socket number.
Tuple (output_control) string → (string / real / integer)
Received tuple.
Combinations with other operators🔗
Combinations
Possible predecessors
open_socket_connect, socket_accept_connect, get_socket_param, set_socket_param
See also
send_tuple, send_image, receive_image, send_region, receive_region, get_next_socket_data_type
Module🔗
Foundation