TonP 1 Posted September 10, 2009 Report Share Posted September 10, 2009 (edited) I place the following code in the 'Error Handler' case to check if I need to Reinitialize the code: . It checks if any of the upcoming states haven 'Exit' state and prevents firing a 'Reinitialize' state if so. Ton Edited September 10, 2009 by TonP Quote Link to post Share on other sites
Philippe Guerit 0 Posted September 10, 2009 Report Share Posted September 10, 2009 Ton, This is an interesting idea. This would allow the state machine to exit even when an error occurs. Philippe Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.