11-10-2025 06:48 AM
Hello!
I'm asynchronously starting a subVI, passing it references from my main VI as parameters. In this subVI, I have events associated with some controls in the main VI using these references. It was working yesterday, but now the event isn't triggering. The control doesn't have any other events associated with it. I'm unable to find the problem. What I am doing wrong?.
SubVI Attached.
The main problem is with the event of the figure:
Thanks for your time!!
PD: The .zip is the complete program if you need it
11-10-2025 10:01 AM
Not sure how that could have worked. You need to register for the value change events of the controls that the references are referring to. The way it is now, the events fire when the references change.
dynamic event registration using control references
See the documentation: https://www.ni.com/docs/en-US/bundle/labview/page/dynamically-registering-for-events.html
11-12-2025 03:45 AM - edited 11-12-2025 03:48 AM
Thank you! Now it works
Probably at the beginning i was updating values somewhere else and event was never working.
Thank you for your time