Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Size of VBAI Program is too large (20MB)

Dear Team,

 

I developed a program in VBAI with 4 cameras.

It's user interface is developed in Labview (vi size is 113 KB).

 

Now The size of VBAI program is showing 20 MB and it is very strange for me.

Usually size of the program is in KBs or 1-2 MBs.

 

I tried to remove the Labview vi from the program and just used Default Inspection interface to see if this is happening because of Labview vi but still the same size (20 MB).

 

Could anyone please suggest what wrong did I do here.

 

Thanks and Regards,

JN

0 Kudos
Message 1 of 4
(1,373 Views)

I faced similar issues some years ago. It was related to the fact that when saving the inspection (and thus the integrated user interface vi), image indicators in the interface were keeping their current content as their default value.

Not sure, but you may try the following :

  • open your inspection in configuration mode,
  • display the inspection interface
  • run the inspection in a way you feeds the indicators with an empty image
  • save the inspection again

Hope this helps,

 

Sami

0 Kudos
Message 2 of 4
(1,332 Views)

Hi Sami,

 

Thank you for your response.

 

I followed the steps as you suggested but did not help.

 

I applied multiple match tools and each match tool is occupying 1MB size.

 

Now program size is reached to 34 MB.

 

I am using Vision Builder version 2020.

 

Any inputs will be helpful.

 

Thanks and Regards,

JN

0 Kudos
Message 3 of 4
(1,295 Views)

Large VBAI files are typically due to the use of the Pattern Matching step configured using Pyramid matching with rotation enabled.

If size is an issue for you and you need to use rotation matching, try using the Low Discrepancy algorithm. In addition to template size improvement, matching will be faster too, if that algorithm works for your image.

0 Kudos
Message 4 of 4
(1,289 Views)