receive_xldT_receive_xldReceiveXldReceiveXldreceive_xld (Operator)
Name
receive_xldT_receive_xldReceiveXldReceiveXldreceive_xld
— Receive an XLD object over a socket connection.
Signature
Herror T_receive_xld(Hobject* XLD, const Htuple Socket)
def receive_xld(socket: HHandle) -> HObject
Description
receive_xldreceive_xldReceiveXldReceiveXldReceiveXldreceive_xld
reads an XLD object that was sent over the
socket connection determined by SocketSocketSocketSocketsocketsocket
by another HALCON
process using the operator send_xldsend_xldSendXldSendXldSendXldsend_xld
. If no XLD object has
been sent, the HALCON process calling receive_xldreceive_xldReceiveXldReceiveXldReceiveXldreceive_xld
blocks
until enough data arrives. For a detailed example, see
send_xldsend_xldSendXldSendXldSendXldsend_xld
.
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
XLDXLDXLDXLDXLDxld
(output_object) xld(-array) →
objectHXLDHObjectHXLDHobject *
Received XLD object.
SocketSocketSocketSocketsocketsocket
(input_control) socket →
HSocket, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Socket number.
Possible Predecessors
open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnectopen_socket_connect
,
socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnectsocket_accept_connect
,
get_socket_paramget_socket_paramGetSocketParamGetSocketParamGetSocketParamget_socket_param
,
set_socket_paramset_socket_paramSetSocketParamSetSocketParamSetSocketParamset_socket_param
See also
send_xldsend_xldSendXldSendXldSendXldsend_xld
,
send_imagesend_imageSendImageSendImageSendImagesend_image
,
receive_imagereceive_imageReceiveImageReceiveImageReceiveImagereceive_image
,
send_regionsend_regionSendRegionSendRegionSendRegionsend_region
,
receive_regionreceive_regionReceiveRegionReceiveRegionReceiveRegionreceive_region
,
send_tuplesend_tupleSendTupleSendTupleSendTuplesend_tuple
,
receive_tuplereceive_tupleReceiveTupleReceiveTupleReceiveTuplereceive_tuple
,
get_next_socket_data_typeget_next_socket_data_typeGetNextSocketDataTypeGetNextSocketDataTypeGetNextSocketDataTypeget_next_socket_data_type
Module
Foundation