06-07-2012 11:25 AM
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.
06-07-2012 01:13 PM
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.
06-07-2012 03:15 PM
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.
06-07-2012 03:25 PM
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.
06-07-2012 03:28 PM - edited 06-07-2012 03:28 PM
How about closing the Front Panel of the first VI after opening the second VI?