05-25-2023 12:16 PM
I want active the event with indicator, this beacause I am using a floating window where I change the datas and send it to main front panel, and I need active the event structure when the values change, I can't change the case structure by the main VI.
05-25-2023 12:41 PM
You can trigger an event using custom events
https://www.ni.com/docs/en-US/bundle/labview/page/lvhowto/creating_user_events.html
05-25-2023 12:53 PM
Also take a look at the fllowing document on recommendations when using events:
05-25-2023 01:34 PM
As a 'rule of thumb' of event structures for beginners - an event should only be defined by a "user event." Meaning the user did something. If the data changes due to things you're monitoring - that should NOT trigger an event. But a new state of a 'state machine' or queue up a case of a data handler.
05-26-2023 02:23 AM
@BaSs_Garrido wrote:
I want active the event with indicator, this beacause I am using a floating window where I change the datas and send it to main front panel, and I need active the event structure when the values change, I can't change the case structure by the main VI.
Pass control references of the controls (or indicators) on the main's FP. Then use a value (signaling) in the sub VI.
Alternatively, the floating window could be just a front panel (no loops, event structures). The main could start it and the main could register for it's (control) events.