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