yasmeen85 Posted December 8, 2007 Report Share Posted December 8, 2007 I'm bigginner in LabView Progam.. I want to make a front panel which lead me to another front panels... But I don't know how to do that in LabView 8.. Can anyone help me by explaining the steps or by an example.. Thanks alot Quote Link to comment
Norm Kirchner Posted December 8, 2007 Report Share Posted December 8, 2007 It depends on how you want the Panel that calls them to operate after they are opened. There are many methods for bringing up a FrontPanel of a VI and having it run, so answering this question is critical to your larger topic. A few examples of how you would answer I want the top level VI (caller) to continue running and still be interacted with I want the top level VI to stop running and the user can only use the window that just popped up I want the top level VI to go away and only show the new one. I want the top level VI to keep running but not be interacted with while these windows run. Just think on it for a while of how you want your users to interact and let us know. Quote Link to comment
yasmeen85 Posted December 9, 2007 Author Report Share Posted December 9, 2007 Thanks for replying.. The first method so:- I want to make a main front panel which have icons (choices) which lead to another front panels but with the main one still open... So how can I make it by Labview?? Thanks again Quote Link to comment
yasmeen85 Posted December 11, 2007 Author Report Share Posted December 11, 2007 Can anyone help me please?!!! Quote Link to comment
yasmeen85 Posted December 15, 2007 Author Report Share Posted December 15, 2007 Why no one answering me?? No one know how to do multi-page?!!!! Quote Link to comment
Norm Kirchner Posted December 15, 2007 Report Share Posted December 15, 2007 QUOTE(yasmeen85 @ Dec 14 2007, 09:28 AM) Why no one answering me??No one know how to do multi-page?!!!! Look up dynamically loading VIs through the usage of "vit" (vi templates). The issue is that this is not a really simple issue. It is not difficult, but requires a good knowledge of using VI server. Do some research on dynamically loading VIs and come back w/ some more questions so we can guage how much more you need. Good luck Norm ps: the short answer. If you have the other pages already made, and they can be run by themselves w/ out needing the top level running, then all you need to do is open a reference to the child pages using open VI reference, then call the RunVI method on the opened reference. Quote Link to comment
ahlers01 Posted December 15, 2007 Report Share Posted December 15, 2007 ZITAT(yasmeen85 @ Dec 8 2007, 06:23 PM) Thanks for replying..The first method so:- I want to make a main front panel which have icons (choices) which lead to another front panels but with the main one still open... So how can I make it by Labview?? Thanks again Yasmeen, you might want to have a look at the example ...\National Instruments\LabVIEW 8.5\examples\general\uievents.llb\New Event Handler.vi The example is meant as an introduction how to use (user-)event handling in Labview, but it also may help to answer you question. In the example 2 subVIs open their front panel when a corresponding button on the main VI is pressed. The subVIs are declared to be 'modal' in this example: That means that no other LV window is accessible before the modal window is closed again. Therefore no two sub-windows can be opened at the same time. If you want to switch off the 'modal' behavior please look under the topic 'Customize Window Appearance Dialog Box' in the LV help to see how to proceed. However, in the given example switching off 'modal' would not make sense since the 'Analyze' sub-window can only do a meaningful job when the 'Aquire' sub-window (or subVI for that matter) has terminated. Whether a subVI with opened front panel should me made 'modal' or not depends on the intended application. Hope this helps, -Franz Quote Link to comment
Gustavo Fernandes Posted December 19, 2007 Report Share Posted December 19, 2007 You can take a look at the examples provided with labview. Normally I'll keep things simple and use "Tab Control". Sometimes I hide the Tabs and use a toolbar to navigate it. This way I can have diferente interfaces in the same windows. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.