12-07-2012 11:01 AM
I have a subvi which performs a measurement in a loop, and I would like to update the front panel of my main VI each time the measrement is performed. How do i generate an event when this variable is written to/changes value? the variable being written to is global, but I can't get the front panel of the main VI to update without polling, which distatesteful.
12-07-2012 11:14 AM
If I'm sending data back up to a GUI from a subVI, I like to use User Events. I don't recommend using a global variable. You can send the data in the event.
If you open the LabVIEW Example Finder (Help->Find Examples...) and search "user events" there is a fairly old example that should be able to explain the details.