LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to pop new window in running main window

i have to popup a sub windopw in main window....and i need to plot common data to be printed on front panal...

i am usind daq ...can i share same daq in main and sub window...hao??or can i share some calculated value in main and sub window of labview.,,pleasehelp me fast

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

There are two ways to make a "subwindow".

 

1. Create a Tab control make it visible/unvisible

2. Create a subvi which you call.

 

A how to for subvi here

 

Koen

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 2 of 4
(2,563 Views)

As KoenR has said - you can use SubVIs and set them to 'Show front panel when called' which will make them show as new windows in your application.

 

As for sharing the data, you could use something like a notifier (under synchronisation) for broadcasting the data to the SubVI. If you create the notifier in your main application, with a send notification VI and then pass the reference to the notifier into the SubVI when you call it which has a 'wait on notification' VI it will then receive the data form the main loop. 

 

If you look in the LabVIEW examples under 'notifiers' you will find 'Pass Data with Notifiers' which demonstrates how to use notifiers to pass data to SubVIs.


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 3 of 4
(2,549 Views)

Hi !

In your main program (or main window if you will) you can use a Subvi to process infrormation from the main program. Likewise you can call the front panel of that subvi using the invoke nodes. So when you call the subvi from you main program, using the invoke nodes you can call the front panel from your subvi.

You can program a subvi to show its front panel when its called.

I dont know if that helped you xD

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