08-30-2016 01:24 AM - edited 08-30-2016 01:35 AM
I don't understand the detail position of the event create and register, I want to know the theory behine the functions.Someone give info? Thanks!
Solved! Go to Solution.
08-30-2016
01:35 AM
- last edited on
12-29-2025
12:07 PM
by
Content Cleaner
If you are asking position and how to use check this link: https://www.ni.com/docs/en-US/bundle/labview/page/creating-custom-events.html
-Event structure has tw types of registering events static and dynamic.
-In static event registration is performed automatcially when a VI with event structure is run for all the user interface events.
-Whereas Dynamic event registration is custom user based and without user interaction you can create an event based on predefined condition.
-Create user event is used to define the event type and the cluster input name is what becomes event name.
08-30-2016 01:51 AM
Thanks udka!
Sorry for my out of focus question!
I found that I can just use event register function to to define the event,so I don't know the necessary of the create function? so as to destroy function.
Best regards,
Alex
08-30-2016
02:04 AM
- last edited on
12-29-2025
12:09 PM
by
Content Cleaner
You can define the listening part to an event in register for events.
-Create and destroy functions are required for user events.
-if you are still talking about front panel events registration, yes you can do dynamically register for events and you don't need create and destroy user event: https://www.ni.com/docs/en-US/bundle/labview/page/dynamically-registering-for-events.html
-If you can post vi/snippet it might explain a bit better of what you are asking.
08-30-2016 02:38 AM
I got it,Thanks! udka!
Best regards
Alex