// State machine for slave-activity2 master component StateMachine Master_SM { //************************************************************************** // start state - initial state START { entry { } // empty entry() program transitions { select RUN_SLAVES } } //************************************************************************** state RUN_SLAVES { run // fails to quit cleanly with: 1.817 [CRITICAL][Logger] StateMachineProcessor failed to bring StateMachine Master into the final state. Program stalled in state 'RUN_SLAVES' line number 18 // handle // quits cleanly { // use update() to run Slaves from a periodic Master do Slave1.update() if Slave2.isRunning() then do Slave2.update() } } //************************************************************************** final state STOP { } } RootMachine Master_SM Master