LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unregister dynamic events

Hallo,

is there a way to unregister a certain event from an event loop?

--
Liebe Grüße

Oliver

Meine EMail enthält weder x noch q
0 Kudos
Message 1 of 4
(3,295 Views)
I don't see a very easy way to do this. But how about using a shift register in the outer while loop? Then you can delete all events you defined for this event structure and redefine all the ones you still want to use...

I never tried this, though.

Cheers,
    Carsten
0 Kudos
Message 2 of 4
(3,291 Views)

well, but how I can delete every generated event ?

thank you Smiley Tongue

Certified-LabVIEW-Developer_rgb.jpg

0 Kudos
Message 3 of 4
(3,221 Views)
 
 
You can only unregister events dynamically that were created dynamically. So instead of statically creating your event for a front panel control, wire its reference into a Register Events VI and select the event you wish. Then you can dynamically unregister and reregister the event as needed. See here for more information, though keep in mind you'll be using control references most likely instead of user events.
 

 

Actually, this is a much better link to look at.

Message Edited by Jarrod S. on 08-16-2006 08:30 AM

Message Edited by Jarrod S. on 08-16-2006 08:32 AM

Jarrod S.
National Instruments
0 Kudos
Message 4 of 4
(3,207 Views)