F. Schubert
2008-08-08 11:10:07 UTC
I'm frequently using the design pattern of an Event-Driven State Machine and I would like to document the behaviour in proper uml. I would by happy if someone shows me to do that.Having an event-driven QSM, the event structure will put one (or more) states into the queue (shown as orange arrows in the pic, imagine a 'Save&Exit' behaviour for multiple states). The state machine itself will also put some states into the queue for transition. In the implementation, there is no 'idle' state defined (dequeue element).So the questions:* How to uml-code the event-to-queue* How to handle the multiple states fired case (*)* What about the 'Idle' state(*) that's the reason here for not using a simple state machine. I want to have 'Save', 'Exit' and 'Save and Exit'.Felix<img src="Loading Image..."> Message Edited by F. Schubert on 08-08-2008 05:52 AM
edqsm.png:
http://forums.ni.com/attachments/ni/170/347818/1/edqsm.png
edqsm.png:
http://forums.ni.com/attachments/ni/170/347818/1/edqsm.png