06-21-2008 01:39 PM
06-21-2008 01:52 PM
06-21-2008 02:39 PM
Jega
This can be achieved by adding a state machine after the event structure and using the event structure to drive the state machine in the require state. I am knind of doing it in a similar way in one of my applications.
Hope it helps......
Ankit
06-23-2008 07:06 AM
06-23-2008 08:45 AM
MScap wrote:
hi
as already mentioned, using event structure for actions that take long time is not suggestible.
using state meachine is a good option. have the event structure in one of the cases in the state machine.
perform the code before your 'start' is enabled in different cases. call the case with 'event strcuture' when you are sure 'start' is enabled. call the cases which you need to execute after the event structure.
this might be easier! even producer-consumer is a good option.
06-24-2008 11:53 PM
Thanks all, but will the master-slave loop apply in this scenario?
Jega
06-25-2008 06:28 AM
06-25-2008 03:12 PM
Thanks All.
Your advice/suggestions helped.
Jega