Jump to content

Prompt to other VI


athalia

Recommended Posts

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. smile.gif

Link to comment

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. smile.gif

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)

Link to comment

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. smile.gif

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?

post-7452-126521652104_thumb.png

post-7452-12652166159_thumb.png

Hope this helps

Link to comment

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.

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.