LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what's different between event create and register

Solved!
Go to solution

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!

0 Kudos
Message 1 of 5
(4,693 Views)

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.

Thanks
uday
Message 2 of 5
(4,676 Views)

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

0 Kudos
Message 3 of 5
(4,668 Views)
Solution
Accepted by Alexleung

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.

Thanks
uday
Message 4 of 5
(4,661 Views)

I got it,Thanks! udka!

Best regards

 

Alex

0 Kudos
Message 5 of 5
(4,651 Views)