Tool correction mark window
When this function is activated ( scPar.xEnableMarkWindowTool = TRUE), only touch probes located within the mark window are evaluated; when scPar.xEnableMarkWindowTool = FALSE, every touch probe is evaluated.
Shift teaching of the first mark and mark window
The first mark must be taught. To do so, the xTeachMarkWindowTool input must be set to TRUE. the scPar.lrMarkWindowSizeTool mark window is placed symmetrically around the detected mark when the next touch probe is detected.
The mark window can be shifted via scPar.lrSetOffsetMarkWindowTool .

Tool correction mark window
|
|
scPar.IrMarkWindowSizeTool |
|
|
scPar.lrSetOffsetMarkWindowTool |
If no mark is detected within the mark window (mark failure; scSF.MP_xMarkNotDetectedTool signal flow variable = TRUE ), this function creates a virtual mark at the optimum position. In this case, no position error is calculated so downstream functions can continue to be executed.
The scPar.dwMaxNumberVirtualMarksTool parameter is used to specify the maximum allowed number of mark failures. If the maximum number of undetected marks is reached, an error message is output.
Parameters relevant for the function
The parameters are located in the L_TS2P_scPar_SyncAndCorrectionState structure.
-
scPar.xEnableMarkWindowTool , BOOL, initial value: FALSE
-
scPar.lrMarkWindowSizeTool , LREAL, initial value: 90 units
-
scPar.lrSetOffsetMarkWindowTool , LREAL, initial value: 0 unit
-
scPar.dwMaxNumberVirtualMarksTool , DWORD, initial value: 5