Hi Sparxians,
Whilst being a novice at EA, I've created quite a complex State Machine model for the interaction of a smartcard with a smartcard reader. However, my model has a problem, which I am trying to de-bug.
I've only got the Corporate edition - what I am trying to do might be easier as an Executable State Machine, but instead I have got a nested set of things that I am modelling, nested within what I call my "Super State" model, which simply uses concurrent sub-states to contain the State Models for each of the components within my system, which each have their own State Models.
I've recently learnt that you don't have to have the Super State Model diagram open in order to run the simulation, that you just have to have it selected in the Project Browser and then the model will open automatically. However, in my case (at about the same time as I ran into my bug), I get a dialog called "Element Usage" which pops up asking me to select which statechart to use. Two, not all of the State Machines, are shown. My question is how are these two diagrams chosen ?.
I suspect that I have done something wrong in the set-up of my "super state" and that somehow I have 'promoted' one of my sub-states to the top-level and this is causing the bug.
I hope that makes sense and I look forward to your thoughts ...
Thanks in advance,
Rethinking Transport