04-19-2012 08:52 AM
Hello,
I am a new user of Vision Builder AI 2011 and have a question concerning the (default) transitions between states.
In a testapplication I am building to get to know the different features of Vision builder I want to create 3 states, each consisting of a series of tests. This works without problems.
But the problem begins when I want to end the test when one of the inspectstates does not pass. To achieve this I added 3 (fault) states in which I put an overlay so that the reason of the 'fail' becomes visible. The transitions to these 'fault' states are edited so that the transition is only used when the above state fails. Each of the 'fail'states has a transition directly to the ENDstate.
The problem that I encounter is that even when one of the tests fails, the program still runs true all of the other tests.
Reason for this (I think) is that I cannot edit the default transitions (which run from inspectstate to inspectstate). And seeing that you cannot delete or edit the default states I don't find the solution to this problem.
I considered adding another transition between the inspectstates and editing this transition, but what to do with the default transitions?
Help with this issue would be greatly appreciated. I only started to work with Vision Builder, but I can see endless possibilities if this problem is solved.
Thanks,
Tom
Solved! Go to Solution.
04-20-2012 01:18 AM
In attachment the example of whiwh I spoke.
04-20-2012 05:15 AM
Hello,
After having a look at your program, it seems that everything is correct, (As you didn't provide images, I was just looking after the transitions).
Your transitions are good, so if an error occurs within a processing state, it should go to the end state, and the other states won't run.
But what make you think the other states are good as the program don't run them?
You can run your sript in configuration mode after having added delay in every state. Then you will be able to see in the diagram view which transition are valid or not.
Regards
04-23-2012 06:23 AM
Hello,
Thanks for the reply. I took another look at my transitions and found the problem. I set my transitions to measurement ('set inspection status' is false), but even if the 'inspection status' was false, the 'set inspection status' was true.
So now I set my transitions to measurement ('logic calculator' is false) and the transitions work fine
Kind regards,
Tom