Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339039 - Simple Hierarchical FSM does not work after first cycle
Summary: Simple Hierarchical FSM does not work after first cycle
Status: CLOSED WORKSFORME
Alias: None
Product: eTrice
Classification: Modeling
Component: Generators (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Henrik Rentz-Reichert CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-06 13:02 EST by Thomas Jung CLA
Modified: 2011-12-16 02:48 EST (History)
0 users

See Also:


Attachments
model trp and room (4.71 KB, application/x-zip-compressed)
2011-03-06 13:03 EST, Thomas Jung CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Jung CLA 2011-03-06 13:02:48 EST
see the attached model.
A blinky machine should start and stop blinking. The controller actor starts and stops blinking every 10 seconds. The blinking actor switches on and off every second. 
The first blink cycle works well. The second cycle does not start. It looks like that something goes wrong with the group transition from blinking to off of the controller.
Comment 1 Thomas Jung CLA 2011-03-06 13:03:38 EST
Created attachment 190502 [details]
model trp and room
Comment 2 Henrik Rentz-Reichert CLA 2011-03-08 08:36:28 EST
There is a bug in your model:
you have to change stop -> start in the BlinkyController transition off -> blinking:

				Transition tr2: off -> blinking {
					triggers {
						<timeoutTick:timer>
					}
					action {
						"timer.Start(10000);"
						"ControlPort.start();"
					}
				}
Comment 3 Henrik Rentz-Reichert CLA 2011-12-16 02:45:59 EST
closed resolved bug
Comment 4 Henrik Rentz-Reichert CLA 2011-12-16 02:48:15 EST
tagged as version 0.1.0