LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two Front Panels for One Block Diagram

Is it possible to have two front panels in their own separate window with the code to control them in one block diagram? i.e. I want one window that displays several graphs that a user can have open on one monitor and one window that the user can have open on another monitor that will change some control parameters.
0 Kudos
Message 1 of 6
(3,951 Views)

You can't have two front panels for a single block diagram. It's just not possible.

What you could do is have your "Graph VI" use VI Server to launch the "Control Parameters" VI and use either Queues or Notifiers to pass data back to the Graph VI to change the parameters.

If you're sure how to this, let us know and we can provide an example and help.

Ed



Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 6
(3,932 Views)

Hi d_sdl

I  think you should use ( Tab control )  ,and  use one page for graph and the other for setting.

Behzad

0 Kudos
Message 3 of 6
(3,915 Views)


@d_sdl wrote:
I want one window that displays several graphs that a user can have open on one monitor and one window that the user can have open on another monitor that will change some control parameters.

Why do you need to have 2 momitors when you cam use the Tab Control for several page views... ?! Smiley Very Happy
- Partha ( CLD until Oct 2027 🙂 )
Message 4 of 6
(3,909 Views)
Thanks for the ideas! A tab control won't work in this case because the end user wants to see the graphs and the controls at the same time. The VI server sounds like a good idea and I think we will go with that.
-thanks
0 Kudos
Message 5 of 6
(3,877 Views)
I set up something similar to this recently.  I have one VI that takes data from a 16-channel analog input device.  It collects data over a few seconds and averages it.  It repeats this every few minutes.  My main VI is set up to take all of the data.  On this VI's front panel I have a button called Show Graphs that calls a separate VI (I did this using an invoke node).  I set up a shared variable to pass data to the graph VI.  The shared variable is a cluster that I defined using a type def so that all the data could be passed at once.  You might want to consider setting up something like that.
0 Kudos
Message 6 of 6
(3,805 Views)