09-21-2009 08:44 PM
Hi all,
I have one question regarding for the "Error Interrupt"
Let's say that I have one state that 3 things run parallelly(refer to the figure), if one of it get an error, the other 2 will halt immediately, is it possible to do this (if yes, any idea) or just simply needs to wait for the other 2 complete then go to the error (like figure show)
Thanks
William Lee
09-21-2009 09:19 PM
There is no way for the other two to halt immediately, as the execution could be anywhere inside their structures at any given instant.
You could use a notifier so that the error in the one case can be passed to the others. Then you have to decide what that means, does the code just wait until the error goes away, or does the code skip over any functions yet to be executed in the loop after the notifier function? Do the loops go to their next iteration or they they exit?