LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

opening seperate window

I am trying to create a button that will open a seperate window to display text and possibly graphics. Unfortunately, I cannot find any useful information in Help. Does anyone have a suggestion on where to start?

Thank you,
Ellie
0 Kudos
Message 1 of 7
(3,163 Views)
You need create new vi (for example sub.vi), that will your separate window.
In main program, you check value of your button: if it true (pressed), call to sub.vi. You need also to change in sub.vi properties in Window Appearance: "Show Window when called" to true
0 Kudos
Message 2 of 7
(3,163 Views)
I am not sure I understand what you are saying. I have looked for the properties you mention and am not given the option to set it to true. Also, how do I set it to "if true (pressed), call to sub.vi"? Thank you.
0 Kudos
Message 4 of 7
(3,163 Views)
As a basic example to get you started, see the attached example. It simply displays text, but by simply modifying the format of the data passed to it, it same basic approach could display graphs, picture, or what have you.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 7
(3,163 Views)
I have looked at your simple example and tried to understand the programming, but ther is a lot going on in the program. Is there perhapse a simplier example with out as many sub VIs or is this the easiest way to do it?
0 Kudos
Message 5 of 7
(3,163 Views)
Here's a very simple example of a main VI calling a pop-up window.
0 Kudos
Message 6 of 7
(3,163 Views)
The sub-vi which you intend to call (on separate window/ Panel), should be at least a "dialog".

You can set this by going to
VI properties> Window Appearance
and set it to Dialog

Try attached
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 7 of 7
(3,163 Views)