LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

separate event

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(2,292 Views)
Solution
Accepted by topic author fzzohra

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

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 3
(2,284 Views)

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. 

0 Kudos
Message 3 of 3
(2,257 Views)