General Steps for Creating a WiT Engine Application

The typical WiT Engine development procedure is as follows:

  1. Using the programming environment of your choice, such as Visual Basic, create an application with the user interface that you want.
  2. Design and test your imaging analysis algorithms using igraphs in WiT.
  3. Generate WIC (WiT Imaging Code) files for each igraph.
  4. Interface your application with the WiT Engine.
  5. Map buttons and controls for starting and stopping your WIC algorithms, change operator parameters, register callbacks for various WIC run time events, etc.
  6. Map data inputs and outputs between your application and the WiT Engine, map WiT displays to windows in your application, etc.
  7. Test your whole application.
  8. Prepare distribution files.

Following are further explanations of the above steps. As an example, we will create a pen cap inspection application using Visual Basic. In this application, we continuously grab images of pens which should all have a cap. If the cap is not put on properly or is missing, it is classified as Fail, other it is a Pass. We will show the total number of Pass and Fail pens since the system was started, and also the image of each Pass or Fail pen so that the user can visually verify the decision. You can find this demo application in:

${WITHOME}\demoPrograms\engine\VB\penCap

Create User Program
Design Igraph
Generate WIC Files
Interface with WiT Engine
Map Controls
Map Data and Windows
Test Application
Prepare Distribution

 

Up 

Next