receive_xldT_receive_xldReceiveXldReceiveXld (Operator)
Name
receive_xldT_receive_xldReceiveXldReceiveXld
— Receive an XLD object over a socket connection.
Signature
Herror T_receive_xld(Hobject* XLD, const Htuple Socket)
Description
receive_xldreceive_xldReceiveXldReceiveXldReceiveXld
reads an XLD object that was sent over the
socket connection determined by SocketSocketSocketSocketsocket
by another HALCON
process using the operator send_xldsend_xldSendXldSendXldSendXld
. If no XLD object has
been sent, the HALCON process calling receive_xldreceive_xldReceiveXldReceiveXldReceiveXld
blocks
until enough data arrives. For a detailed example, see
send_xldsend_xldSendXldSendXldSendXld
.
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
XLDXLDXLDXLDXLD
(output_object) xld(-array) →
objectHXLDHXLDHobject *
Received XLD object.
SocketSocketSocketSocketsocket
(input_control) socket →
HSocket, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Socket number.
Possible Predecessors
open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnect
,
socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnect
,
get_socket_paramget_socket_paramGetSocketParamGetSocketParamGetSocketParam
,
set_socket_paramset_socket_paramSetSocketParamSetSocketParamSetSocketParam
See also
send_xldsend_xldSendXldSendXldSendXld
,
send_imagesend_imageSendImageSendImageSendImage
,
receive_imagereceive_imageReceiveImageReceiveImageReceiveImage
,
send_regionsend_regionSendRegionSendRegionSendRegion
,
receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegion
,
send_tuplesend_tupleSendTupleSendTupleSendTuple
,
receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuple
,
get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataType
Module
Foundation