Hello,
If a conditional transition is executed in one state machine, and the exact transition is used in another state machine, will it also execute there?
I have attached an image of the 2 state machines for reference. I am using "DrumOn" and "DrumOff" from the first state machine to control the transitions in the second.
If there's a better way to do this please let me know.
Thanks,
Phil
Transition question
- drphil69
- Posts: 139
- Joined: Wed Mar 02, 2011 5:59 pm
- stalley
- Enovation Controls Development
- Posts: 618
- Joined: Tue Mar 18, 2014 12:57 pm
Re: Transition question
Hello Phil,
As you have found, events are seen globally, just as database variables are global.
Is it possible to combine the two state machines?
What conditions require two different state machines, perhaps you need four events instead of the two.
As you have found, events are seen globally, just as database variables are global.
Is it possible to combine the two state machines?
What conditions require two different state machines, perhaps you need four events instead of the two.
Sara Talley
Software Engineer
Enovation Controls
Software Engineer
Enovation Controls
- drphil69
- Posts: 139
- Joined: Wed Mar 02, 2011 5:59 pm
Re: Transition question
Hi Sara,
I'm not sure what you mean... will this work or not?
Thanks,
Phil
I'm not sure what you mean... will this work or not?
Thanks,
Phil
- stalley
- Enovation Controls Development
- Posts: 618
- Joined: Tue Mar 18, 2014 12:57 pm
Re: Transition question
Hello,
Yes, when the common event is fired, both state machines could transition.
I don't know that there is a better way to accomplish what you are doing, maybe others out there use something different.
Yes, when the common event is fired, both state machines could transition.
I don't know that there is a better way to accomplish what you are doing, maybe others out there use something different.
Sara Talley
Software Engineer
Enovation Controls
Software Engineer
Enovation Controls