Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339039

Summary: Simple Hierarchical FSM does not work after first cycle
Product: [Modeling] eTrice Reporter: Thomas Jung <tj>
Component: GeneratorsAssignee: Henrik Rentz-Reichert <hrr>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0
Attachments:
Description Flags
model trp and room none

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