serialize_data_code_2d_modelT_serialize_data_code_2d_modelSerializeDataCode2dModelSerializeDataCode2dModelserialize_data_code_2d_model (Operator)
serialize_data_code_2d_modelT_serialize_data_code_2d_modelSerializeDataCode2dModelSerializeDataCode2dModelserialize_data_code_2d_model
— Serialize a 2D data code model.
Signature
Description
serialize_data_code_2d_modelserialize_data_code_2d_modelSerializeDataCode2dModelSerializeDataCode2dModelserialize_data_code_2d_model
serializes a 2D data code model (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_data_code_2d_modelwrite_data_code_2d_modelWriteDataCode2dModelWriteDataCode2dModelwrite_data_code_2d_model
is converted to a serialized item.
The 2D data code model is defined by the handle DataCodeHandleDataCodeHandleDataCodeHandledataCodeHandledata_code_handle
.
The serialized 2D data code model is returned by the handle
SerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandleserialized_item_handle
and can be deserialized by
deserialize_data_code_2d_modeldeserialize_data_code_2d_modelDeserializeDataCode2dModelDeserializeDataCode2dModeldeserialize_data_code_2d_model
.
For an explanation of the concept of the 2D data code reader
see the introduction of chapter Identification / Data Code.
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
DataCodeHandleDataCodeHandleDataCodeHandledataCodeHandledata_code_handle
(input_control) datacode_2d →
HDataCode2D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the 2D data code model.
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_data_code_2d_modelserialize_data_code_2d_modelSerializeDataCode2dModelSerializeDataCode2dModelserialize_data_code_2d_model
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
Possible Predecessors
set_data_code_2d_paramset_data_code_2d_paramSetDataCode2dParamSetDataCode2dParamset_data_code_2d_param
,
find_data_code_2dfind_data_code_2dFindDataCode2dFindDataCode2dfind_data_code_2d
Possible Successors
fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemfwrite_serialized_item
,
send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemsend_serialized_item
,
deserialize_data_code_2d_modeldeserialize_data_code_2d_modelDeserializeDataCode2dModelDeserializeDataCode2dModeldeserialize_data_code_2d_model
Alternatives
get_data_code_2d_paramget_data_code_2d_paramGetDataCode2dParamGetDataCode2dParamget_data_code_2d_param
See also
create_data_code_2d_modelcreate_data_code_2d_modelCreateDataCode2dModelCreateDataCode2dModelcreate_data_code_2d_model
,
set_data_code_2d_paramset_data_code_2d_paramSetDataCode2dParamSetDataCode2dParamset_data_code_2d_param
,
find_data_code_2dfind_data_code_2dFindDataCode2dFindDataCode2dfind_data_code_2d
Module
Data Code