You can create and name your own events, called user events, programmatically to carry user-defined data. Like queues and notifiers, user events allow different parts of an application to communicate asynchronously. You can handle both user interface and programmatically generated user events in the same Event structure.
Complete the following steps to create a user event.
![]() |
Note LabVIEW uses owned labels to identify data the user event carries, so label each element of the input with a descriptive owned label. |
Use the Generate User Event function to broadcast the user event and the Destroy User Event function to destroy a user event reference.
Refer to the Programmatically Fire Events VI in the labview\examples\general\dynamicevents.llb for an example of using user events.