athalia Posted February 3, 2010 Report Share Posted February 3, 2010 Hi guys! I want my VI to have a button or something that can prompt to other pages of my other VIs. I want it to work like a powerpoint slides.When you click something(eg button),it will go to another VI. Thanks! Quote Link to comment
Antoine Chalons Posted February 3, 2010 Report Share Posted February 3, 2010 Hi, If you are begining with LabVIEW I suggest you use a Tab Control to do that. Here is a small example : Hope this helps tab example.vi Quote Link to comment
athalia Posted February 3, 2010 Author Report Share Posted February 3, 2010 Hi, If you are begining with LabVIEW I suggest you use a Tab Control to do that. Here is a small example : Hope this helps Thanks for the reply Antoine. Well I cant open your file since Im using only version 7.1. Anyway I know how Tab Control works but Im really looking for the above method. If I press button '1' it will take me to page '1';to another VI file.If I press button '2' it will take me to page '2' etc. Any suggestion? Thanks again. Quote Link to comment
hooovahh Posted February 3, 2010 Report Share Posted February 3, 2010 Thanks for the reply Antoine. Well I cant open your file since Im using only version 7.1. Anyway I know how Tab Control works but Im really looking for the above method. If I press button '1' it will take me to page '1';to another VI file.If I press button '2' it will take me to page '2' etc. Any suggestion? Thanks again. Down saved to 7.1. Like Antoine said use tabs. Run the VI and see how it works, then right click the tab control and you can make the tabs invisible (that property node doesn't exist in 7.1 apparently) tab example 71.vi) Quote Link to comment
Antoine Chalons Posted February 3, 2010 Report Share Posted February 3, 2010 Thanks for the reply Antoine. Well I cant open your file since Im using only version 7.1. Anyway I know how Tab Control works but Im really looking for the above method. If I press button '1' it will take me to page '1';to another VI file.If I press button '2' it will take me to page '2' etc. Any suggestion? Thanks again. Ok, so you'll have to use VI server, here is q quick n easy idea : have a main VI in which you select a list of other VIs and when you clic "start", the VIs selected in the list are launched one after the other until the list is empty ; and to launch the next VI, you wait untill the current has finished executing. Is this what you need? Hope this helps Quote Link to comment
Mark Yedinak Posted February 3, 2010 Report Share Posted February 3, 2010 You could also use queues to pass messages from one vi to another. You would need the top level vi spawn the other vis unless you used a networked queue solution. Based on the messages you pass your sub-tasks would show their display, do something and perform some type of task. One other thing you could do is to use subpanels in your top level vi. When your even t occurs load the appropriate vi's front panel in the subpanel. 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.