serialize_metrology_model🔗
Short description🔗
serialize_metrology_model — Serialize a metrology model.
Signature🔗
serialize_metrology_model( metrology_model MetrologyHandle, out serialized_item SerializedItemHandle )
Description🔗
serialize_metrology_model serializes the data of a metrology
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_metrology_model is
converted to a serialized item. The metrology model is defined by the handle
MetrologyHandle. The serialized metrology model is returned by the
handle SerializedItemHandle and can be deserialized by
deserialize_metrology_model.
For an explanation of the concept of 2D metrology see the introduction of chapter 2D Metrology.
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🔗
MetrologyHandle (input_control) metrology_model → (handle)
Handle of the metrology model.
SerializedItemHandle (output_control) serialized_item → (handle)
Handle of the serialized item.
Result🔗
If the parameters are valid, the operator
serialize_metrology_model returns the value 2 (H_MSG_TRUE). If
necessary, an exception is raised.
Combinations with other operators🔗
Combinations
Possible predecessors
create_metrology_model, add_metrology_object_circle_measure, add_metrology_object_ellipse_measure, add_metrology_object_line_measure, add_metrology_object_rectangle2_measure, set_metrology_object_param, set_metrology_object_fuzzy_param, read_metrology_model
Possible successors
fwrite_serialized_item, send_serialized_item, deserialize_metrology_model
Module🔗
2D Metrology