LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open graphs in pop up window

Hi

 

In my application i have 9 waveform charts in a while loop that is displaying data which i am acquiring and processing. My front panel is clustered with lots of graphs. i want to have some buttons in the front panel for each waveform chart on the block diagram and when i i click it i want waveform chart to be displayed in a pop up screen. I want all waveform charts to keep plotting data while i am displaying the one i want.  

0 Kudos
Message 1 of 17
(4,549 Views)
Search the Labview examples for "Pass data with notifiers". May give you ideas
Message 2 of 17
(4,548 Views)

Hi

Thanks for the reply. I want graphs to open one at time. I want to  have a button for each graph on the front panel. Whilw the simulation is runing i want to display selected graph after i pressed the button.

0 Kudos
Message 3 of 17
(4,520 Views)

Just place each graph at a new vi (like the example).

Then when a button is pressed open that vi.

You can remove menu items, scrollbar & title bar so it will look nice

Message 4 of 17
(4,510 Views)

I think Tab Control would work Best as it is very easy to manage and implement.

But you wont be seeing your graph as pop ups in tab Control.

So, if you really want to see you graph as pop ups, then go for the way suggested by Pnt.

 

 

Ritesh

0 Kudos
Message 5 of 17
(4,505 Views)

I wrote one of those for a customer. He really liked it since he could "drill-down" into the graph that mattered most and size it up. 

 

Write each of the graphs as a sepearate VIs each acting as the consumer in a producer consumer scheme.

 

Load and run each of thses in a sub-panel as part of your manin GUI

 

When a user clicks a button pull the right VI out of the sub-panel and show its front panel. When they hit the button again put it back in the sub-panel.

 

THat's all there is too it (he says sheepishly Smiley Wink )

 

Ben

 

PS Is there interest in a Nugget on this subject?

Message Edited by Ben on 09-19-2008 06:02 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 6 of 17
(4,490 Views)

This is what I had in mind.

 

 

Ben

Message Edited by Ben on 09-19-2008 06:13 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 17
(4,484 Views)

Weird wallpaper Smiley Very Happy

Message 8 of 17
(4,463 Views)

I've been kind of curious about this, but I haven't had time to experiment. If I'm using a vi in a subpanel, can it resize with the parent panel? Also, Ben, like your example, if you have an indicator on a vi that is "fit to pane" so it consumes the entire front panel (like you might want for a graph that would allow the user to resize it), what happens to that indicator when it is displayed in a subpanel?

 

Chris

Message Edited by C. Minnella on 09-19-2008 09:13 AM
0 Kudos
Message 9 of 17
(4,461 Views)

Hi

Thanks for the reply. I can use tab control. It is easy.

But i have problem. When i place this waveform charts in the while loop, it started to process very slowly. In that while loop i am acquiring data, processing and outputting to a channel (result). After i place waveform charts in the loop, it starts to misssing data points often. What can i do for this?

0 Kudos
Message 10 of 17
(4,397 Views)