LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with two vision builder inspections on LabView

Hi. I have created two different inspections with Vision Builder and migrated both to LabView. The problem is that I want to make a VI where I call both subVIs, but since some files have the same name when I try to call the second VI, Labview says that instead it will use the first one that has already been loaded in memory. How can I make this work properly?

Thanks in advance.

0 Kudos
Message 1 of 3
(1,978 Views)

You could check out this link, which describes how to get around this problem:

http://digital.ni.com/public.nsf/allkb/6996D330A4945CA28625776A007204D4

 

Another option that might be better is to use the API to control a VBAI inspection from LV. This way, you can keep your inspection in VBAI, which makes it easy to edit/change, and from the LV API for VBAI you can launch multiple VBAI engines on your PC, load different inspections, get results and images from each inspection using the API. 

Here's where you can find more info on this including a video on how to do it:

http://zone.ni.com/devzone/cda/tut/p/id/12325#h47

 

Hope this helps,

Brad

0 Kudos
Message 2 of 3
(1,972 Views)

Thanks for answering Brad. I have used the first solution and I think it will work fine with my program.

0 Kudos
Message 3 of 3
(1,964 Views)