Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

VBAI 3.0.1 - How can I set up Data/Image logging File Name/Destination based on Global variables?

Hello,

I am inspecting several part types in an application in a manufacturing environment. To manage the logging of the inspection data and failed images, I would like to appropriately specify the location and file names (for images and inspection data files) based on "Part Number" and "current time". These variables are already available in the inspection. How can I achieve this, short of writing my own version of the Image and Data logging modules?

Any help is appreciated.

Thanks,

Ashish
0 Kudos
Message 1 of 5
(3,917 Views)
Hello,

I think you have no other possibility to develop a custom step using LV 8.0.1.
To do this, open LabVIEW 8.0.1 --> "Tools" --> "Vision Builder AI 3.0" --> "Create custom step..." of course you need LabVIEW skills..

I might be able to find an old custom step I made in LV 7.1 for VBAI 2.6, it was a step to log inspection results in a text file, let me know if this can have an interest for you.

Hope this helps

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 5
(3,904 Views)
Just one more remark, be careful if you make custom steps and run them on a CVS, there can be issues, have a look here.



We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 3 of 5
(3,900 Views)
Hello Ashish,

In VBAI 3.0.1, you also have the option of creating a State diagram.  With this design technique, the inspection can step through different states (which in your case would specify locations and names) depending on the transition condition (the part number and time).  You can access the state diagram by toggling the main window view.  You can right click on the window to create a state and then right click on the state to create a transition based on a measurement from your inspection.  This is another alternative to creating a custom step.  I hope this helps.

Vu

Message Edited by Vudoo on 07-09-2007 06:50 PM

0 Kudos
Message 4 of 5
(3,883 Views)

Thank you all for your feedback. The "Call LV VI" would not be efficient as I would need to open and close the data file through each iteration (it will work for images though). I will have to create a custom module that allows me to keep the data file open through the iterations.

 

Thanks.

0 Kudos
Message 5 of 5
(3,874 Views)