03-21-2013 03:54 PM
can someone give me a resolution how can i separate my events without using event struct.
what i need in my program its not just separate events but also i can not pass to another event if the event before its not yet finish.
thaanks
Solved! Go to Solution.
03-21-2013 04:23 PM
I guess you are keep running your code inside the event structure. Generally what you should be doing is using the Event structure capture only the events and pass the Event to a state machine running parallely. You could search for Event based State machine design pattern to get more idea. Also its better to show the code what you have been doing
03-21-2013 05:15 PM
thaanks
you are right, i put all my program in event struct but my problem i think is not where i put it.
the problem i have when i use event struct and i amplement my program to one of chart NIcompactRIO its not working so i am reaserching for other solution who can alwo me separate my events and running just one event if its finish can pass to other events.