Book a Demo

Author Topic: State machine simulation - two FSMs ?  (Read 2310 times)

gtsoftware

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
State machine simulation - two FSMs ?
« on: November 01, 2011, 01:14:52 am »
Using EA v9.1 to simulate a state machine - is there a way to run two state machines back to back so I can test out a protocol?

i.e. one state machine is the server and another state machine is the client and I'd like to see if the protocol between them works (or has some deadlocks)

I think I could write a COM object and have two instances of EA running and putting javascript in the guards and actions to use the COM object to transfer events but I'm not sure even that would work (because the recipient state machine might have already decided nothing is happening).

It would be easier to link together a couple of state machines with some sequence charts. Is there a way to do that in EA?

(no, I can't afford something like am|use)