Determine the HALCON data type of the next socket data.
get_next_socket_data_type returns the data type of the next data that are present on the socket Socket and returns it in DataType. The possible values for DataType are:
'no_data' No data are present. 'no_halcon_data' Some data are present, but they are no HALCON data. 'tuple' The next data is a tuple. 'region' The next data is a region object. 'image' The next data is an image object. 'xld_cont' The next data is an XLD contour. 'xld_poly' The next data is an XLD polygon. 'xld_para' The next data is an XLD parallel. 'xld_mod_para' The next data is a modified XLD parallel. 'xld_ext_para' The next data is an extended XLD parallel.
|
Socket (input_control) |
socket_id -> integer |
| Socket number. | |
|
DataType (output_control) |
string -> string |
| Data type of next HALCON data. | |
get_next_socket_data_type is reentrant and processed without parallelization.
send_image, receive_image, send_region, receive_region, send_tuple, receive_tuple
System