Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

In Vision Builder, caqn I take a series of inspection steps and copy and paste, as a block, into the inspection to repeat the inspection several times ...

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

0 Kudos
Message 1 of 2
(2,631 Views)

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

Message 2 of 2
(2,628 Views)