07-19-2016 02:18 PM
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
07-19-2016 10:46 PM
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
07-20-2016 08:33 AM
HI Christophe,
Thanks! That helped a lot.
Olivia