02-12-2014 10:07 AM
Hello,
I would like to generate in a while loop a User Event, what triggers events in two or more event loops.
I have attached a non-functional draft VI, so easier to show what I would like to understand.
My experiance is that, the Generated User Event only triggers one Event Structure case, not both. Why? What about if I want both event loops to be triggered? How can I do it with User Event?
Maybe someone could explain me this a bit deeper?
Thanks very much!
Regards,
ps.: again problem with the forum's file upload... 😞
so here the VI in my dropbox:
https://dl.dropboxusercontent.com/u/8148153/draft_to_show.vi
Solved! Go to Solution.
02-12-2014 10:13 AM
Classic mistake.
You need TWO "Register for Events", the output of each going to a seperate Event structure. Then it will work.
02-12-2014 10:18 AM
I think this was the fastest response ever after I post my question, thanks! 🙂
Ok, I get it: I have to use two "Register for Events", but I connect the same "user event refnum" wire coming from the "Create user event" to both of them...
02-12-2014 10:19 AM
Correct.
02-12-2014 10:20 AM
@Blokk wrote:
I think this was the fastest response ever after I post my question, thanks! 🙂
Ok, I get it: I have to use two "Register for Events", but I connect the same "user event refnum" wire coming from the "Create user event" to both of them...
And I even looked at your code....