LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for an example VI that shows how to trigger an event in a VI from a subvi based on a value.

I am looking for an example VI that uses a typical event structure for the GUI, but also has an event that will trigger based on a boolean value changing in a subVI to that VI.

 

Thank you.

0 Kudos
Message 1 of 2
(2,159 Views)

You need to Create User Event.  Any Event structure which is registered with the event, whether it be in a subVI or otherwise can trigger the user event by using Generate User Event.

 

Right-click an event structure and select Show Dynamic Event Terminal.  This is what you use to register your user (dynamic) events.

 

Search for "events" in NI examples within LabVIEW.

0 Kudos
Message 2 of 2
(2,149 Views)