Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Vision Builder - Run States in Parallel in Same Inspection?

Hello -

 

I've seen many posts asking about running multiple inspections in parallel, but I'm wondering if it's possible to run multiple states within the same inspection in parallel. I've tried making multiple transtitions from one state to other states, but I can't tell if they are all being run. It seems like they aren't, because they aren't highlighted and they don't display their inspection status, but this could just be the way the software displays what's happening.

 

Also, is there a way to determine the efficiency of a program besides just runnning and timing it? Does Vision Builder have a way of estimating runtime?

 

Thanks,

Olivia

0 Kudos
Message 1 of 3
(3,726 Views)

Hi Olivia,

 

Vision Builder AI's model is a state diagram, meaning the diagram does not have syntax elements allowing to split the image coming out of a state, and the parallel execution of 2 branches. Please post this idea on the Vision Idea exchange:

http://forums.ni.com/t5/Vision-Idea-Exchange/idb-p/visionideas

Even if each state is run sequentially, please know that most vision algorithms used in the Vision Builder AI steps leverage all the cores of the processors of the targets on which it's running.

 

To verify the path taken in an inspection, use the measurements window (Tools>>View Measurements). The bottom of the windows logs events that show when a state is entered, exited, etc.

 

To determine the performance of a Vision Builder AI inspection, use the  Becnhmark tool (Operate>>Benchmark Inspection). It will run the inspection the number of times you want on the target and return you the results.

 

Hope this helps.

 

Christophe

 

0 Kudos
Message 2 of 3
(3,715 Views)

HI Christophe,

 

Thanks! That helped a lot.

 

Olivia

0 Kudos
Message 3 of 3
(3,704 Views)