11-26-2013 01:50 PM
Hi there,
Currently I'm using the inspection interface of Vision Builder 2009 SP1, and I'm doing some processing tasks (offline), in images which are placed in the path specified in Vision Builder Configuration.
For some reasons I need to specify the path for the images that I will use, in the inspection Vision Buider.
Is there any solution for what I'm looking for?
11-26-2013 04:59 PM
In the recently released Vision Builder AI 2013 (http://www.ni.com/vision/software/), we updated the Simulate Acquisition to allow the image path to be a previous measurement.
With this version, you can set the image path to the value of a string control located on your Custom UI.
With your version, the only solution I see is to use the Run LabVIEW step to read the image. An input of the Run LabVIEW step can be the folder or path of the image you want to read, that you can set to the value of the control located on your custom UI.
Hope this helps.
Christophe
11-27-2013 01:06 PM
Hello Christophe,
Thanks for your help. Your idea seems to be nice.
Well I tried to do what you said, (creating a Run LabVIEW step to read the image), but when I tried to import the vi to the vision builder,I got an error related with version of the labview vi.
[The current version of labview that I'm using is the Labview2010, V10.0, and the version of Vision Builder is 2009 SP1].
The message error is attached below as "error_1", and it says that Vision Builder only supports Labview 8.5 VIs. So I saved the vi on 8.5 version, but when I tried to reload the vi the error comes again. I accept the suggestion given by the message error but it gives another error (error_2),saying that VI is broken.
Do you have any idea of how to solve this problem?
*(Later I will have another problem related with cycle the images through the folder)...., but first lets solve this problem.
Thanks
11-27-2013 11:27 PM
03-28-2014 02:58 PM
In regards to setting the folder path dynamically using a control variable... can you provide more information on how to do this?
I can see where I can extract the current folder setting and use that as a string for other items, but I can't figure out how/where to set it.
Thanks.