LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user-generated event doesn't register

Solved!
Go to solution

You branch the event reg refnum! That causes this problem

You need a Register for Events for each of your Event Structures!

 

This is documented somewhere in the help under caveats and recommendations when using events.

 

Felix

0 Kudos
Message 11 of 12
(398 Views)

Re: "If you register an event to a structure the structure will receive that event even if it does nothing with it. So with that in mind if the loop that does nothing gets the event then nothing happens because the event has been removed from the event queue when the loop that need the event is ready to process the event.

 

If you need multiple loop to process or do something for the same event then each one will have to have a new registration. You can not use the same output on all structures."

 

--------

That's not my experience in this case. Even if it's not intended to work this way, it appears that every registered event will show up in every connected event structure as long as every event structure has a case to handle every registered event. Confusing, but (apparently) true.

0 Kudos
Message 12 of 12
(391 Views)