08-01-2016 09:44 AM
Hii,
I have created a popup window in my program to display graph by using event structures but the values in my graph is not being updated while my main program is running.kindly let me know how to solve this problem. I have already searched for previous posts but i could not get proper result from them. I have attached a sample program with this post
Thank you
08-01-2016 10:06 AM
vk92,
The "Pop up":Value Change event only runs when the status of the Pop up control changes. As your code is written that is the only time a new value will be displayed. popup graph vi.vi needs a way to directly communicate with the loop that is generating the data.
08-01-2016 10:13 AM
Hi Wayne,
Could you please tell me how to make my popup graph vi to get data continuously from the main vi.
Thank you
08-01-2016 10:30 AM
Couple of questions to understand question better:
-When pop-up vi should open?
-When data should be generated?
-When data should be passed to pop-up vi?
-when pop-up vi should stop?
-when main vi should stop?
-Are you familiar how event structure works?
08-01-2016 12:45 PM
Take a look at this thread. I posted a possible solution in message 9 and drjdpowell's solution is in message 10.
http://forums.ni.com/t5/LabVIEW/Spawn-graphics-on-a-separate-window-on-demand/m-p/3322669#M974008