LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display multiple Waveform-Graphs on a separate Frontpanel

Hi there,

 

I'm looking for a solution to display multiple waveform-graphs on a separate frontpanel.

In my application I measure a number of channels (number is a user-input). The signals I want to display each in a separate waveform-graph, because they have different scales. They shall be arranged that way, that the user can switch them on and off or arranges them on the screen, while the application is running (measuring). He shall also be able to maximize all graphs or a graph window to have a closer look at the signals.

I already tried several things.

1. I placed the maximum number of graphs in a separate vi, which I start in my application and then switch the frontpanel on and off via a property-node. The values I also write via the references of the waveform-array, which I place in an array. This way I can also change the propertys of each plot (scale, xmin xmax, etc), but I always have all graphs on the screen (also the unused).

2. I then tried to change the visible-property of the unused graphs, but I cannot scale and rearrange the remaining graphs to the full frontpanel-size, because this property is read-only.

3. I placed just one waveform-graph in the vi and then start as many vis, as I need. This is cool, because I also can program the position and size of each frontpanel, so that they are arranged in a grid on the display, but all the graphs are separate and it is uncomfortable if the user had to arrange them separate. The windows need to be docked ore something like that.

4. I tried to place the graph-vis in subpanels, but then I cannot change the position and size of the vis programmatically.

 

Has anyone an idea, how to solve this?

I am using LabView2009Sp1 Professional Development System

 

Thanks Norman

0 Kudos
Message 1 of 4
(2,836 Views)

If you have tried vi. Post it. then it will be easy to understand the requirement.

0 Kudos
Message 2 of 4
(2,821 Views)

I think you can try this one also... This will call the front panel only when the VI is called...

 

24342iA612D3F875043DDF

 

Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 3 of 4
(2,817 Views)

Thanks so far,

I attached some examples of what I tried already.

 

1. MaximumNumberOf Graphs - I show 6 graphs although only two are needed. I cannot rescale the used ones to the full screen size, because the property is read-only

2. RescaledFrontpanel - I switch the unused graphs to invisible, resize the frontpanel to hide the unused graphs, but now the window is not zoomable

3. GridOfWindows displays the desired grid of graphs in separate windows, but they don't stick together

 

I hope this explains the situation better.

 

Norman

0 Kudos
Message 4 of 4
(2,792 Views)