ClassesClassesClassesClasses | | | | Operators

set_metrology_object_fuzzy_paramset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParam (Operator)

Name

set_metrology_object_fuzzy_paramset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParam — Set fuzzy parameters or fuzzy functions for a metrology model.

Signature

set_metrology_object_fuzzy_param( : : MetrologyHandle, Indices, GenParamName, GenParamValue : )

Herror set_metrology_object_fuzzy_param(const Hlong MetrologyHandle, const char* Indices, const char* GenParamName, double GenParamValue)

Herror T_set_metrology_object_fuzzy_param(const Htuple MetrologyHandle, const Htuple Indices, const Htuple GenParamName, const Htuple GenParamValue)

Herror set_metrology_object_fuzzy_param(const HTuple& MetrologyHandle, const HTuple& Indices, const HTuple& GenParamName, const HTuple& GenParamValue)

void HMetrologyModel::SetMetrologyObjectFuzzyParam(const HTuple& Indices, const HTuple& GenParamName, const HTuple& GenParamValue) const

void SetMetrologyObjectFuzzyParam(const HTuple& MetrologyHandle, const HTuple& Indices, const HTuple& GenParamName, const HTuple& GenParamValue)

void HMetrologyModel::SetMetrologyObjectFuzzyParam(const HTuple& Indices, const HTuple& GenParamName, const HTuple& GenParamValue) const

void HMetrologyModel::SetMetrologyObjectFuzzyParam(const HString& Indices, const HString& GenParamName, double GenParamValue) const

void HMetrologyModel::SetMetrologyObjectFuzzyParam(const char* Indices, const char* GenParamName, double GenParamValue) const

void HOperatorSetX.SetMetrologyObjectFuzzyParam(
[in] VARIANT MetrologyHandle, [in] VARIANT Indices, [in] VARIANT GenParamName, [in] VARIANT GenParamValue)

void HMetrologyModelX.SetMetrologyObjectFuzzyParam(
[in] VARIANT Indices, [in] VARIANT GenParamName, [in] VARIANT GenParamValue)

static void HOperatorSet.SetMetrologyObjectFuzzyParam(HTuple metrologyHandle, HTuple indices, HTuple genParamName, HTuple genParamValue)

void HMetrologyModel.SetMetrologyObjectFuzzyParam(HTuple indices, HTuple genParamName, HTuple genParamValue)

void HMetrologyModel.SetMetrologyObjectFuzzyParam(string indices, string genParamName, double genParamValue)

Description

set_metrology_object_paramset_metrology_object_paramSetMetrologyObjectParamset_metrology_object_paramSetMetrologyObjectParamSetMetrologyObjectParam is used to set or change the fuzzy parameters or fuzzy functions of an metrology object in order to adapt the model to a particular edge selection before applying the operator apply_metrology_modelapply_metrology_modelApplyMetrologyModelapply_metrology_modelApplyMetrologyModelApplyMetrologyModel (see create_metrology_modelcreate_metrology_modelCreateMetrologyModelcreate_metrology_modelCreateMetrologyModelCreateMetrologyModel for the basic principle of 2D metrology). The metrology model is defined by the handle MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandle. The parameter IndicesIndicesIndicesIndicesIndicesindices specifies the metrology objects for which the parameters should be changed or set. The parameters of all metrology objects are set if the parameter IndicesIndicesIndicesIndicesIndicesindices is set to 'all'"all""all""all""all""all".

The fuzzy parameter or the type of fuzzy function is passed in the parameter GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName. The corresponding value or the fuzzy function is passed in the parameter GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue. If at least one fuzzy function is set, internally the operator fuzzy_measure_posfuzzy_measure_posFuzzyMeasurePosfuzzy_measure_posFuzzyMeasurePosFuzzyMeasurePos will be used when searching the objects with the operator apply_metrology_modelapply_metrology_modelApplyMetrologyModelapply_metrology_modelApplyMetrologyModelApplyMetrologyModel. More information about fuzzy functions can be found with the operator fuzzy_measure_posfuzzy_measure_posFuzzyMeasurePosfuzzy_measure_posFuzzyMeasurePosFuzzyMeasurePos. The following generic parameters and parameter values for GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName and GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue are possible:

'fuzzy_thresh'"fuzzy_thresh""fuzzy_thresh""fuzzy_thresh""fuzzy_thresh""fuzzy_thresh":

The parameter specifies the minimum fuzzy value. The meaning and the use of this parameter is described with the operator fuzzy_measure_posfuzzy_measure_posFuzzyMeasurePosfuzzy_measure_posFuzzyMeasurePosFuzzyMeasurePos. There, the parameter corresponds to the parameter FuzzyThreshFuzzyThreshFuzzyThreshFuzzyThreshFuzzyThreshfuzzyThresh.

Default value: '0.5'"0.5""0.5""0.5""0.5""0.5"

'function_contrast'"function_contrast""function_contrast""function_contrast""function_contrast""function_contrast":

The parameter specifies a fuzzy function of type contrast. The meaning and the use of this parameter is described with the operator set_fuzzy_measureset_fuzzy_measureSetFuzzyMeasureset_fuzzy_measureSetFuzzyMeasureSetFuzzyMeasure. There, the parameter corresponds to the parameter SetTypeSetTypeSetTypeSetTypeSetTypesetType with the value 'contrast'"contrast""contrast""contrast""contrast""contrast" and its value corresponds to the parameter FunctionFunctionFunctionFunctionFunctionfunction.

Default value: 'disabled'"disabled""disabled""disabled""disabled""disabled"

'function_position'"function_position""function_position""function_position""function_position""function_position":

The parameter specifies a fuzzy function of type position. The meaning and the use of this parameter is described with the operator set_fuzzy_measureset_fuzzy_measureSetFuzzyMeasureset_fuzzy_measureSetFuzzyMeasureSetFuzzyMeasure. There, the parameter corresponds to the parameter SetTypeSetTypeSetTypeSetTypeSetTypesetType with the value 'position'"position""position""position""position""position" and its value corresponds to the parameter FunctionFunctionFunctionFunctionFunctionfunction.

Default value: 'disabled'"disabled""disabled""disabled""disabled""disabled"

'function_position_center'"function_position_center""function_position_center""function_position_center""function_position_center""function_position_center":

The parameter specifies a fuzzy function of type position_center. The meaning and the use of this parameter is described with the operator set_fuzzy_measureset_fuzzy_measureSetFuzzyMeasureset_fuzzy_measureSetFuzzyMeasureSetFuzzyMeasure. There, the parameter corresponds to the parameter SetTypeSetTypeSetTypeSetTypeSetTypesetType with the value 'position'"position""position""position""position""position" and its value corresponds to the parameter FunctionFunctionFunctionFunctionFunctionfunction.

Default value: 'disabled'"disabled""disabled""disabled""disabled""disabled"

'function_position_end'"function_position_end""function_position_end""function_position_end""function_position_end""function_position_end":

The parameter specifies a fuzzy function of type position_end. The meaning and the use of this parameter is described with the operator set_fuzzy_measureset_fuzzy_measureSetFuzzyMeasureset_fuzzy_measureSetFuzzyMeasureSetFuzzyMeasure. There, the parameter corresponds to the parameter SetTypeSetTypeSetTypeSetTypeSetTypesetType with the value 'position_end'"position_end""position_end""position_end""position_end""position_end" and its value corresponds to the parameter FunctionFunctionFunctionFunctionFunctionfunction.

Default value: 'disabled'"disabled""disabled""disabled""disabled""disabled"

'function_position_first_edge'"function_position_first_edge""function_position_first_edge""function_position_first_edge""function_position_first_edge""function_position_first_edge":

The parameter specifies a fuzzy function of type position_first_edge. The meaning and the use of this parameter is described with the operator set_fuzzy_measureset_fuzzy_measureSetFuzzyMeasureset_fuzzy_measureSetFuzzyMeasureSetFuzzyMeasure. There, the parameter corresponds to the parameter SetTypeSetTypeSetTypeSetTypeSetTypesetType with the value 'position_first_edge'"position_first_edge""position_first_edge""position_first_edge""position_first_edge""position_first_edge" and its value corresponds to the parameter FunctionFunctionFunctionFunctionFunctionfunction.

Default value: 'disabled'"disabled""disabled""disabled""disabled""disabled"

'function_position_last_edge'"function_position_last_edge""function_position_last_edge""function_position_last_edge""function_position_last_edge""function_position_last_edge":

The parameter specifies a fuzzy function of type position_last_edge. The meaning and the use of this parameter is described with the operator set_fuzzy_measureset_fuzzy_measureSetFuzzyMeasureset_fuzzy_measureSetFuzzyMeasureSetFuzzyMeasure. There, the parameter corresponds to the parameter SetTypeSetTypeSetTypeSetTypeSetTypesetType with the value 'position_last_edge'"position_last_edge""position_last_edge""position_last_edge""position_last_edge""position_last_edge" and its value corresponds to the parameter FunctionFunctionFunctionFunctionFunctionfunction.

Default value: 'disabled'"disabled""disabled""disabled""disabled""disabled"

A fuzzy function is discarded if the fuzzy function value is set to 'disabled'"disabled""disabled""disabled""disabled""disabled". All previously defined fuzzy functions and fuzzy parameters can be discarded completely using reset_metrology_object_fuzzy_paramreset_metrology_object_fuzzy_paramResetMetrologyObjectFuzzyParamreset_metrology_object_fuzzy_paramResetMetrologyObjectFuzzyParamResetMetrologyObjectFuzzyParam. The current configuration of the metrology objects can be accessed with get_metrology_object_fuzzy_paramget_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParamget_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParamGetMetrologyObjectFuzzyParam. Note that if at least one fuzzy function is specified, the operator fuzzy_measure_posfuzzy_measure_posFuzzyMeasurePosfuzzy_measure_posFuzzyMeasurePosFuzzyMeasurePos is used for the edge detection.

Attention

A metrology model 'MetrologyHandle'"MetrologyHandle""MetrologyHandle""MetrologyHandle""MetrologyHandle""MetrologyHandle" cannot be shared between two or more user's threads. Different metrology models can be used independently and safely in different threads.

Parallelization

Parameters

MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandle (input_control)  metrology_model HMetrologyModel, HTupleHTupleHMetrologyModel, HTupleHMetrologyModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the metrology model.

IndicesIndicesIndicesIndicesIndicesindices (input_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (string / integer) (string / int / long) (HString / Hlong) (char* / Hlong) (BSTR / Hlong) (char* / Hlong)

Indices of the metrology objects.

Default value: 'all' "all" "all" "all" "all" "all"

Suggested values: 'all'"all""all""all""all""all", 0, 1, 2

GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Names of the generic parameters.

Default value: 'fuzzy_thresh' "fuzzy_thresh" "fuzzy_thresh" "fuzzy_thresh" "fuzzy_thresh" "fuzzy_thresh"

List of values: 'function_contrast'"function_contrast""function_contrast""function_contrast""function_contrast""function_contrast", 'function_position'"function_position""function_position""function_position""function_position""function_position", 'function_position_center'"function_position_center""function_position_center""function_position_center""function_position_center""function_position_center", 'function_position_end'"function_position_end""function_position_end""function_position_end""function_position_end""function_position_end", 'function_position_first_edge'"function_position_first_edge""function_position_first_edge""function_position_first_edge""function_position_first_edge""function_position_first_edge", 'function_position_last_edge'"function_position_last_edge""function_position_last_edge""function_position_last_edge""function_position_last_edge""function_position_last_edge", 'fuzzy_thresh'"fuzzy_thresh""fuzzy_thresh""fuzzy_thresh""fuzzy_thresh""fuzzy_thresh"

GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (input_control)  attribute.value(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Values of the generic parameters.

Default value: 0.5

Suggested values: 0.1, 0.3, 0.5, 0.6, 0.7, 0.9, 1, 2, 3, 4, 5, 10, 20

Result

If the parameters are valid, the operator set_metrology_object_fuzzy_paramset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamset_metrology_object_fuzzy_paramSetMetrologyObjectFuzzyParamSetMetrologyObjectFuzzyParam returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

get_metrology_object_fuzzy_paramget_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParamget_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParamGetMetrologyObjectFuzzyParam

Possible Successors

apply_metrology_modelapply_metrology_modelApplyMetrologyModelapply_metrology_modelApplyMetrologyModelApplyMetrologyModel, reset_metrology_object_fuzzy_paramreset_metrology_object_fuzzy_paramResetMetrologyObjectFuzzyParamreset_metrology_object_fuzzy_paramResetMetrologyObjectFuzzyParamResetMetrologyObjectFuzzyParam, get_metrology_object_fuzzy_paramget_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParamget_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParamGetMetrologyObjectFuzzyParam

See also

set_metrology_object_paramset_metrology_object_paramSetMetrologyObjectParamset_metrology_object_paramSetMetrologyObjectParamSetMetrologyObjectParam

Module

2D Metrology


ClassesClassesClassesClasses | | | | Operators