deserialize_training_componentsT_deserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsdeserialize_training_components (Operator)
Name
deserialize_training_componentsT_deserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsdeserialize_training_components
— Deserialize a component training result.
Warning
deserialize_training_componentsdeserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsdeserialize_training_components
is obsolete and is only provided for
reasons of backward compatibility.
The operator will be removed with HALCON 26.11.
Signature
Description
deserialize_training_componentsdeserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsdeserialize_training_components
deserializes a component
training result, that was serialized by
serialize_training_componentsserialize_training_componentsSerializeTrainingComponentsSerializeTrainingComponentsserialize_training_components
(see
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
for an introduction of the basic
principle of serialization). The serialized component
training result is defined by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
.
The deserialized values are stored in an automatically created
component training result with the handle ComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingIDcomponent_training_id
.
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
SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
(input_control) serialized_item →
HSerializedItem, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the serialized item.
ComponentTrainingIDComponentTrainingIDComponentTrainingIDcomponentTrainingIDcomponent_training_id
(output_control) component_training →
HComponentTraining, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the training result.
Result
If the parameters are valid, the operator
deserialize_training_componentsdeserialize_training_componentsDeserializeTrainingComponentsDeserializeTrainingComponentsdeserialize_training_components
returns the value 2 (
H_MSG_TRUE)
.
If necessary, an exception is raised.
Module
Matching