From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-10-2007 01:13 PM
01-10-2007 01:41 PM
01-10-2007 02:02 PM
Evan,
I've zipped the project, the top level is runtime.vi
Many thanks
Graham
01-10-2007 03:10 PM
Ok I have good news and bad news. I couldn't run your stuff but that is no problem. Take a look at the simple examples I created. Hit the go button and notice the string. Notice that it switches between the loops.
Basically you registered the user event 1 time. Then you asked multiple event structures to watch the same event. So every now and then the wrong loop gets the event. Your code is the same as my top2 where I have to loops and 2 event structures.
So due to dataflow you can't tell who will execute when. Try to run your code and see if the times that you "miss" the event, it didn't actually get picked up by the other VI.
01-10-2007 04:50 PM
Evan,
Do you think this is the wrong way to approach the task, would the queue be better ? or have two user events (i thought i'd set up two 😞 )
and Yes the target vi is missing the event, where else is it getting looked at ?
Thanks
Graham