Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ROI's that VBAI creates in labview have different sizes to those in VBAI?

i am using VBAI 2.5 to generate my inspection which i am then migrating into Labview 7.1, can anyone explain why the ROI's which are setup in labview are not the same to those in VBAI? and is there a solution other than manually going through all the generated labview code to updat the roi's?
0 Kudos
Message 1 of 4
(3,346 Views)
Hi Stewbert,

Another soloution you should try is upgrading your LabVIEW to LabVIEW 7.1.1.  This is a free upgrade availavle from

http://digital.ni.com/softlib.nsf/954feaeea92d90918625674b00658b83/6c5f342a4af4ef8986256f5400693c3b?OpenDocument

This may fix your problem
0 Kudos
Message 2 of 4
(3,334 Views)
unfortunatly upgrading to labview 7.1.1 didn't help.
0 Kudos
Message 3 of 4
(3,314 Views)
Hi S, This is a known issue in VBAI 2.5. It looks like there was an underlying problem with how the image dimensions were being read in VBAI. A 640x480 image was not necessarily being interpreted that way in the software. So when the code is ported to LabVIEW, the dimensions for the ROIs are based on the incorrect image size. For the image in LabVIEW, the correct image dimensions are used, so the ROIs are shifted. The end result is that VBAI 2.6 addresses that issue and repairs the problem. . Seamus
0 Kudos
Message 4 of 4
(3,296 Views)