11-22-2016 12:37 AM
Hello Team ,
how can i use two gui simultaneously in labview.
i m not telling about sub vi.i want to use two gui such that after completing one task via 1 gui another will be started by user.
11-22-2016 01:23 AM
11-22-2016 05:10 AM - edited 11-22-2016 05:10 AM
if in case you have single vi which shold have different UI and you need to display one after the another, then you can use Tabs and you need to control the tabs as programmatically.
11-24-2016 12:38 AM
Hello Team ,
You are right .
First of all , i want to run my first vi .After completing the task via the 1st vi, i will change my connection then after i want to run another 2nd vi and i want that both vi is in single gui but run after completing taskof 1st vi.
11-24-2016 09:28 AM
Look at Subpanels.
11-24-2016 09:52 AM
It is really somewhat unclear what you want to do, and you give no "simple code" or examples to explain. As you've seen from the previous posts, there are several ways to have two VIs with totally different Front Panel appearances (or "GUIs") be executed sequentially, "presenting" their own GUI when they run. If you have two separate VIs (I'll call them "One" and "Two"), each of which has their own Front Panel that you want to have presented when they are running, you can use a third VI ("Master") that has a sub-Panel and sequentially runs One, then Two in the sub-Panel.
Another way I think you could do this is to simply set the properties of One and Two to Show Front Panel when Running and Close Front Panel when Done (I might not have the names exactly right, but you should be able to get the idea). Then Master could simply call One, then call Two. You may want to set the Front Panel properties of One and Two to Full Screen ... You could, indeed, do away with Master by having One call Two when it is ready to exit, and have Two's Front Panel "cover up" One's. Depends on what you want to do and how you want to do it.
Bob Schor
11-24-2016 10:35 PM - edited 11-24-2016 10:35 PM
First of all , i want to run my first vi .After completing the task via the 1st vi, i will change my connection then after i want to run another 2nd vi and i want that both vi is in single gui but run after completing taskof 1st vi.
Use your VI's as sub vi and try to call in a common Main VI update the results of the two sub VI to Main VI, probably main vi can have separate Tab for different VI Front panel elements
Try to share your actula code