06-07-2016 08:51 PM - edited 06-07-2016 08:52 PM
Hi I have a Vision Assistant block that I use to perform tests on electronic components.
It contains 20 Color Pattern Match blocks, one for each pin, and a couple of overall processing blocks.
Problem is if I need to make a change (which can be frequent), say change the name of a block or tweak a parameter in Vision Assistant, when I close it, it takes between 1.5 and 2 minutes to do whatever it does under the covers before I can use Labview at all.
Should this be considered normal? It's frustrating (and personally I feel unnecessary) that it would take so long just to update a block, given the machine it's on, specs here:
It doesnt look machine related, I had the same problem on the previous system before it was upgraded a couple of months ago. Nor OS, previously we had Windows 7 and now its Windows 10.
Thanks for any comments.
06-08-2016 09:51 AM
Hi TripleAntigen,
Thank you for including your code; I went ahead and tested this behavior myself by making a small change to the vision assistant and clicked finish. Unfortunately, I experienced the same behavior. When you make a modification to the vision assistant and save changes LabVIEW has to regenerate all of the code over again which is why it is taking this long every time you change something.
You could potentially split this Vision Express VI up into multiple express VIs so that it doesn't have to generate the entire code base every time.
06-18-2016 12:33 AM
07-03-2016 11:58 PM
Thanks very much Hatef.fouladi, I am taking your advice and trying to convert the code to Labview code using the process described. But I am not having any luck.
If I open Vision Assistant from the Labview's Tools -> Vision Assistant... menu item, I can see the Create Labview VI option, its greyed obviously because I have not created a script. But I already have an Express block as shown in the image in my first post, and if I double click on that, it opens the block script in Vision Assistant, but this time there is no Create Labview VI.
Am I doing something really stupid? Thanks
Chris
07-04-2016 02:02 AM