serialize_component_model🔗
Short description🔗
serialize_component_model — Serialize a component model.
Warning🔗
serialize_component_model is obsolete and is only provided for
reasons of backward compatibility.
The operator will be removed with HALCON 26.11.
Signature🔗
serialize_component_model( component_model ComponentModelID, out serialized_item SerializedItemHandle )
Description🔗
serialize_component_model serializes the data of a component
model (see fwrite_serialized_item for an introduction of the
basic principle of serialization). The same data that is written
in a file by write_component_model is converted to a serialized
item. The component model is defined by the handle
ComponentModelID. The serialized component model is returned
by the handle SerializedItemHandle and can be deserialized
by deserialize_component_model.
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🔗
ComponentModelID (input_control) component_model → (handle)
Handle of the component model.
SerializedItemHandle (output_control) serialized_item → (handle)
Handle of the serialized item.
Result🔗
If the parameters are valid, the operator
serialize_component_model returns the value 2 (H_MSG_TRUE).
If necessary, an exception is raised.
Module🔗
Matching