LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Vision Builder, Aquire Images with Simulate Aquisation

Solved!
Go to solution

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

0 Kudos
Message 1 of 20
(2,993 Views)

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

0 Kudos
Message 2 of 20
(2,976 Views)

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,

Abduelkerim

Sales
NI Germany
0 Kudos
Message 3 of 20
(2,966 Views)

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  

0 Kudos
Message 4 of 20
(2,961 Views)

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,

Abduelkerim

Sales
NI Germany
0 Kudos
Message 5 of 20
(2,957 Views)
It is currently not possible for that step to acquire new images that weren't in the folder when the inspection was opened. You could accomplish this with a Run LabVIEW step though
I'll send you an example inspection in a bit. After you read the file, do you want to delete the image? Is it alright to move or rename the images after they have been read?
Thanks
Brad
0 Kudos
Message 6 of 20
(2,952 Views)

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

0 Kudos
Message 7 of 20
(2,943 Views)

Hi Abduelkerim,

 

of course i can send you some of my images.

 

Thank your for trying out with a 2010 version.

 

Best regards,

 

Roman

 

0 Kudos
Message 8 of 20
(2,942 Views)
Solution
Accepted by RomanMenz

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

 

0 Kudos
Message 9 of 20
(2,934 Views)

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 

0 Kudos
Message 10 of 20
(2,928 Views)