LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

updating the data in a pop-up graph window

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

Download All
0 Kudos
Message 1 of 5
(3,318 Views)

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.

Message 2 of 5
(3,293 Views)

Hi Wayne,

 

Could you please tell me how to make my popup graph vi to get  data continuously from the main vi.

 

Thank you

0 Kudos
Message 3 of 5
(3,285 Views)

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?

Thanks
uday
Message 4 of 5
(3,270 Views)

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

Message 5 of 5
(3,248 Views)