Advantech InspectorPro...

Preview:

Citation preview

Advantech InspectorPro

Create InspectorPro UI using LabView

IAG PAE Ian Shen

2015/3/27

Create InspectorPRO API

1. InspectorPRO API Object includes two parts: a) IpeDspCtrlLib

ActiveX Component

Imagewindow display

b) IpeEngCtrlLib

.NET Component

Control the Engine(interface of InspectorPRO in .NET)

2. The UI includes three parts: a) Engine Initialization(Connect InspectorPRO and

Imagewindow display)

b) HMI control

c) End the program, release the resource

Basic way of Using the Components

Component – IpeDspCtrl

1. New一Invoke Node

2. Choose IpeDspCtrlLib.IpeDspCtrl from the Class of Property Node (if this is not in the list, browse and find it)

1 2

3

Component – IpeDspCtrl

3. Choose method ConnectImgWindow

1. Class 2. Method 3. Variables

Create New一 ActiveX Container connect to ImageWindow

在VI上新增一ActiveX Container

Rename ImageWindow

Connect IpeDspCtrl

System Initialization

Initialization: Block Diagram

Declare EngineClass Object

Initialize Engine

Connect Engine and ImageWindow

Load investgation(.ivs)

ImageWindow Name

ActiveX Container

HMI Control

Change Inspection Mode: Block Diagram

I_MODE declaration Change mode

End Program

Dispose: Block Diagram

Order:

– DisconnectImgWindow() >> EngTerminate() >> EXIT

Recommended