LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pop up window...

Does LabVIEW support pop-up windows?  There is not enough room on my VI for another graph, so I want to "pop-up" a new window when necessary to display the graph.
 
Thanks,
Chris
Chris Reyerson
Optical Systems Engineer
Arete Associates
Tucson, AZ
0 Kudos
Message 1 of 5
(3,757 Views)
Not sure if this is exactly the pop-up you want, but if you right click on any sub-vi and choose "Sub-VI Node Setup" you can choose to have it open the front panel of that VI when it executes.

So in your case, make a sub-vi with the chart you want, and put it in an event handler or similar, so that when you click a button the sub-vi runs, and opens up its own front panel. This new window can be made modal or not using the file - VI preferences or something. Look around.

Not quite sure how to best set it up though, so it only pops up when you want it to but still get streaming data to its chart.

You could try creating a property node for that sub-vi and just toggle the "visible" property. You may or may not need to use the Sub-VI Node Setup if you use the property node.

I have not tried this myself for this particular scenario, so I can not guarantee that my suggestions will work, but you might get some ideas while trying out my suggestions!

Good Luck!!
---------------------------------------------------

Project Engineer
LabVIEW 2009
Run LabVIEW on WinXP and Vista system.
Used LabVIEW since May 2005

Certifications: CLD and CPI certified
Currently employed.
Message 2 of 5
(3,746 Views)

I wrote a simple program just for you (LV 7.1) Smiley Very Happy

Ami

Message 3 of 5
(3,736 Views)

Hello,

 

There’s no option of a “popup panel” in LabVIEW, so you’ll have to use either the techniques described above or some other UI organizational stuff such as use of Tab controls as well as the NEW Split Panes.  These techniques can keep everything in one VI but have the UI organized and compact.  My recommendation (without seeing your specific VI) is to make use of the Tab control because the design is widely used and therefore frequently understood by your users without any sort of explanation about how to navigate through the interface.  I haven’t downloaded the other examples, but here’s one more in LabVIEW 7 which you can use as a sub-VI to display a waveform in a pop-up graph. 

 

Hope it helps – thanks for posting to the NI Discussion Forums!!

Travis M
LabVIEW R&D
National Instruments
Message 4 of 5
(3,699 Views)

Thanks for everyones input.  I ended up using a tabbed window which is great for efficiently using space.

Chris

Chris Reyerson
Optical Systems Engineer
Arete Associates
Tucson, AZ
0 Kudos
Message 5 of 5
(3,681 Views)