Leaper WaferScan Toolkit
中文 / English 2.x
Public Member Functions | Properties
ILIBTaskConfig Interface Reference

This interface holds the configuration of an IntelliBlink task which involves multiple algorithm tools. More...

Inheritance diagram for ILIBTaskConfig:
ILObjects ILObject LIBTaskConfig

Public Member Functions

int HandleEvent (LString algoName, LPVIBEventCode evtCode, ILIBData *data)
 
ILIBAlgoConfigItem (int index)
 
- Public Member Functions inherited from ILObjects
int Count ()
 
BOOL Empty ()
 
ILObjectItemObject (int objIndex)
 
- Public Member Functions inherited from ILObject
ILObjectCopy ()
 
LPVErrorCode Load (LString filename)
 
void Reset ()
 
LPVErrorCode Save (LString filename)
 
BOOL Valid ()
 

Properties

ILIBAlgoConfig AlgoConfig (LString algoName) [get, set]
 The configuration of the algorithm tool, queried by its name. Return null if failed to find the algorithm with the specified name. More...
 
LString Name [get]
 The name of the task. For a task loaded into via LPV IB service, the name is usually the same as the file name.
 

Detailed Description

This interface holds the configuration of an IntelliBlink task which involves multiple algorithm tools.

Usually you get the LIBTaskConfig object from ILIBService::GetTaskConfig(). You can then use this interface to access individual algorithm configuration, and modify them.

Example Code

Note: This interface is currently not available on Linux / MacOS platform.

Member Function Documentation

◆ HandleEvent()

int HandleEvent ( LString  algoName,
LPVIBEventCode  evtCode,
ILIBData data 
)

Call the handle event of the algorithm tool. Check the following event table for the supported event.

Parameters
[in]algoNameThe unique name of the algorithm tool.
[in]evtCodeThe event code.
[in]dataThe input event data. It varies for individual event type, see the following event table for details.
Return values
errCodeReturn the error code if anything is wrong, you may check the error code lookup table, return LPVNoError if succeed.
EventEvent CodeEvent DataSupported IntelliBlink Tools
ResetLPVIBEventResetEvent Wrapper, Statistics, NG / OK, Data Fitting, Collect Points, Foreground Detect, Multi-Frame Blending, HDR, Normal Reconstruct, Foreground Extract, Optical Flow, 4 Points Calibration, 9 Points Calibration, 1 Points Calibration In Multi-Frame, Grid Calibration, FFD Grid Calibration, Flat Field Calibration
ImportLPVIBEventImportFile path(String)Event Wrapper, Data Fitting, Import Calibration, Import Flat Field Calibration
ExportLPVIBEventExportFile path(String)Event Wrapper, Data Fitting, 4 Points Calibration, 9 Points Calibration, 1 Points Calibration In Multi-Frame, Grid Calibration, FFD Grid Calibration, Flat Field Calibration
Re-ExecuteLPVIBEventReExecuteCustom event name(String)Event Wrapper

Note: For Event Wrapper tool, you may trigger set the custom event name to the pass-in data name (LIBData::Name), to trigger the exact one event.

◆ Item()

ILIBAlgoConfig* Item ( int  index)

Fetch one algorithm tool's configuration object with the given index.

Parameters
[in]indexThe input index, it should be a 0-based number smaller than total count.
Return values
configReturn the algorithm configuration object.

Property Documentation

◆ AlgoConfig

ILIBAlgoConfig AlgoConfig
getset

The configuration of the algorithm tool, queried by its name. Return null if failed to find the algorithm with the specified name.

Parameters
[in]algoNameThe unique name of the algorithm tool.