03-03-2008 09:58 AM - edited 03-03-2008 09:59 AM
I think you are destroying the User Event before it is detected by the sub-VI. Try only detroying the user event AFTER the sub-VI returns.
Ben"
I don't see how I'm destroying the user event. The user presses stop. Process control turns true. It won't change back to false until the program ends. This ensure that it will change to false as the last action. As you can see the only when "track read end" and all my other process ends, will process control turn false again. "track read end" turns true as when the while loop ends.
03-03-2008 10:07 AM
HI D1,
Rather than re-invet the wheel please take a look at this Community Nugget authored by Ton.
It sure helped me understand dynamic events and hopefully it will help you as well.
Ben
03-03-2008 10:11 AM
03-03-2008 10:21 AM - edited 03-03-2008 10:22 AM
Hi D1,
I only answer Q's durring short breaks here at work so I can't debug what is happening.
I suggest you strip down your code to the basic elements and post a small zip in the earliest version of LV you have.
Someone with a more recent version than LV 7.1 (like me on this machine) maybe able to take a quick look and advices.
Please keep in mind that all of the "gold bar" contributors here are just volunteers so you have have to make things easy for us to help you.
Just trying to help,
Ben
PS Try to keep your screen shots small. Some people will not even look at a thread that is multiple screens wide.
03-03-2008 12:59 PM - edited 03-03-2008 01:01 PM
03-03-2008 01:31 PM - edited 03-03-2008 01:32 PM