03-14-2013 10:41 AM
Hi Everybody,
i'm a Student and i work as a Trainee in a Company, wich produce Helmets.
To controll the Quality of the Helmets, there is a Webcam, wich take photos of each produced helmet.
This Images are saved on the Server. With the Tool "Simulate Aquisation", i can analyse the images, wich are now in the Folder.
But when a new Image is drop into the folder, i actually start the inspection again.
How can i realize, that NI Vision Builder always takes the current Images in the folder?!
Thank You for your help!
Best regards,
Roman Menz
Solved! Go to Solution.
03-15-2013 04:06 AM
Hello.
I know that my english is not the best, bot i hope that you understand my problem.
I appreciate your answers and solutions.
Thanks,
Roman Menz
03-18-2013 04:48 AM - edited 03-18-2013 04:52 AM
Hi Roman,
here is Abduelkerim from the german support team.
So, do I get it correct, that you use the VBAI (Vision Builder for Automated Inspection)? Which Version?
Do you want to add images into the folder during the runtime? So during the time, your programm is running?
If you activate the option "Cycle Through Folder Images" it should work.
Best regards,
03-18-2013 06:05 AM
Hi Abduelkerim,
at first thanks for your answer.
I use the VBAI 2010 version.
You understand correctly, that i want to add images to the folder during the runtime.
I activate the option "Cycle Through Folder Images", but when i add images the programm doesn't realize and consider them.
So, is there another option or solution for my problem?
Best Regards,
Roman Menz
03-18-2013 06:47 AM
Hi Roman,
so, I tried it with VBAI 2012 and it works.
I will try to make it with VBAI 2010 as soon as possible.
Is it possible that you sent me some of your images via private message, so I can try it with your data too?
Best regards,
03-18-2013 07:36 AM
03-18-2013 09:25 AM
Hi Brad,
thank you fpr yout answer.
I tried it with a Run LabView step, too, but i could be that my LabView VI isn't the right.
I use a VI wich i have downloaded from the NI website.
The Image should stay in the folder, when it works.
"Is it alright to move or rename the images after they have been read?"
Yes!
Thanks you and best regards
Roman
03-18-2013 09:28 AM
Hi Abduelkerim,
of course i can send you some of my images.
Thank your for trying out with a 2010 version.
Best regards,
Roman
03-18-2013 09:41 AM
Here's a simple example that illustrates how to dynamically read images from a folder. Once the image has been retruned to VBAI, the image file is moved to a subfolder called Complete so it's not read again the next time the step is called. The step will return an error if there are no more images of the file type expected in the folder.
Hope this helps,
Brad
03-18-2013 10:10 AM
Hi Brad,
it seems that you read my mind.
Your "Simple Dynamic Test" is brilliant. Excatly what i search for.
Thanks a lot!
I try to understand your LabView VI. for further questions i hope that i can ask you again ?!
Thanks, once again!
Best regards,
Roman