09-18-2008 12:35 AM
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.
09-18-2008 12:54 AM
09-18-2008 10:30 AM
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.
09-19-2008 12:21 AM
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
09-19-2008 01:32 AM
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
09-19-2008 06:00 AM - edited 09-19-2008 06:02 AM
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 )
Ben
PS Is there interest in a Nugget on this subject?
09-19-2008 06:11 AM - edited 09-19-2008 06:13 AM
This is what I had in mind.
Ben
09-19-2008 08:04 AM
Weird wallpaper
09-19-2008 08:13 AM - edited 09-19-2008 08:13 AM
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
09-22-2008 12:03 PM
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?