08-18-2011 01:22 PM
In Vision Builder, can I take a series of inspection steps and copy and paste, as a block, back into the inspection to repeat those inspection steps several times, or is there some sort of looping that can be done to accomplish this as well, a set number of times?
I do not want to take 20 or so steps and copy/paste each individually 6 times back into the inspection algorithm.
Hope someone can help.
Thanks so much,
Howard
08-18-2011 07:40 PM
Hi Howard,
Vision Builder supports looping. The way to implement it is to use the state diagram.
By default, an inspection has a single state.
Click the Toggle Main Window View button (Top Right of the screen) to display the state diagram in the main window.
You can now edit the state diagram and create transitions to implement your loop.
Look at the following example that shows how to implement looping
C:\Program Files (x86)\National Instruments\Vision Builder AI 2011\Examples\Tutorial 6 - State Diagram Looping.vbai
Hope this helps.
Best regards,
-Christophe