receive_serialized_item — Receive a serialized item over a socket connection.
receive_serialized_item receives a serialized item that was
sent over the socket connection determined by
another HALCON process using the operator
fwrite_serialized_item for an introduction of the
basics of serialization). If no serialized item has been sent,
the HALCON process calling
until enough data arrives. The data is stored in a new created
serialized item. The operator returns the handle of the serialized
item in parameter
SerializedItemHandle. For a detailed
example showing the use of a socket connection, see
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Handle of the serialized item.
If the parameters are valid, the operator
receive_serialized_item returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.