LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open GUI using second GUI in application but close first GUI

HI, I have created a GUI which evaluates semiconductor parts of different families.  

 

Objective trying to achieve

Create an exe such that when the user double clicks the exe file it opens a GUI which opens a front panel with a TextRing box with different part numbers.  The user must select a part for the list. Once the part the first panel should close by itself and a new panel opens with all the bells and whistles to use to evaluate the parts.  This sequence is important because the second GUI handles multiple different setting which it must set when the part is selected.

 

I would really appreciate if someone can should me how to open a second GUI front panel from the first GUI from panel but closing the first panel.

 

I know how to open a GUI front panel using a differnt GUI front panel but the issue I am facing is that I am using Call by Reference which is not correct I believe.  Please HELP!!!!

 

Thank you in advance.

 

image2.JPGimage2.JPGimage3.JPG

 

 

 

 

Download All
0 Kudos
Message 1 of 5
(2,927 Views)

Simple solution: Make "GUI A" a dialog-like window (see examples that ship with LabVIEW). Call it from "GUI B" via a button, like "Select Part". Or, if you want, you can have "GUI B" simply call "GUI A" right at the beginning. Depends on whether you need to be running for multiple parts.

 

Oh, and don't use the Run Continuously button. That's not meant for normal operation.

0 Kudos
Message 2 of 5
(2,917 Views)

Thank you for your reply

I did try your suggestion but it keeps both the GUI running.  I want the first GUI to close when the second one opens.

0 Kudos
Message 3 of 5
(2,910 Views)

Hi smercurio_fc, if you dont mind can you please use the A.vi and B.vi to create what you mentioned on your post.  I have to use this for exe and not only on the development platform.

0 Kudos
Message 4 of 5
(2,906 Views)

VI Reference.png

 

How about closing the Front Panel of the first VI after opening the second VI?

0 Kudos
Message 5 of 5
(2,904 Views)