Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

State disable in VBAI 3.0

I have a 3-cameras inspection, and I'd like to disable a camera (or even 2, or 3l!) depending on the value of a global variable (or i/o, or something else).

So I thought to insert a transition on the step "Inspect camera 1" that go over to the state "inspect camera 2" if, let's say,  the variable "CAM1" is False. I did the same for "Camera 2 inspect state".

The problem here is that it seems that, before the transitions is evaluated, we have at least 1 execution of the state, but I want to *disable* the  state  (maybe because  that camera is damaged or some other strange reason!).

Is there any other way to build something like this?

Simone
--
Simone
0 Kudos
Message 1 of 1
(2,852 Views)