set_bead_inspection_param๐
Short description๐
set_bead_inspection_param โ Set parameters of the bead inspection model.
Signature๐
set_bead_inspection_param( bead_inspection_model BeadInspectionModel, attribute.name GenParamName, attribute.value GenParamValue )
Description๐
The operator set_bead_inspection_param is used to set parameters
of a bead inspection model in order to adapt it to a particular inspection
task. All parameters except for the modelโs contour can be set with this
operator. A new bead
inspection model should be used when a new contour is introduced.
The current values of all parameters can be queried with the operator
get_bead_inspection_param.
Parameters that can be set
The following parameters are essential and inspection model specific. It is vital for the inspectionโs success to identify accurate values for those parameters:
-
'target_thickness': sets the
TargetThickness. -
'thickness_tolerance': sets the
ThicknessTolerance. -
'position_tolerance': sets the
PositionTolerance. -
'polarity': sets the beadโs
Polarity. -
'sigma'
-
'threshold'
For more details, refer to the parametersโ description in
create_bead_inspection_model.
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.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
Parameters๐
BeadInspectionModel (input_control, state is modified) bead_inspection_model โ (handle)
Handle of the bead inspection model.
GenParamName (input_control) attribute.name(-array) โ (string)
Name of the model parameter that shall be adjusted for the specified bead inspection model.
Default: 'target_thickness'
List of values: 'polarity', 'position_tolerance', 'sigma', 'target_thickness', 'thickness_tolerance', 'threshold'
GenParamValue (input_control) attribute.value(-array) โ (string / integer / real)
Value of the model parameter that shall be adjusted for the specified bead inspection model.
Default: 40
Suggested values: 40, 10, 15, 0.6, 1.0, 4.0, 5.0, 'light', 'dark'
Result๐
The operator set_bead_inspection_param returns the value 2 (H_MSG_TRUE)
if the given parameters are valid and within acceptable range.
Otherwise, an exception will be raised.
Combinations with other operators๐
Combinations
Possible predecessors
Possible successors
apply_bead_inspection_model, get_bead_inspection_param
Alternatives
See also
Module๐
2D Metrology