LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multi panel user interface

Hi there, I'd like to know how I could structure an application that potentially has several screens. Some allow the user to enter data and others are reporting screens. What is a recomended way to structure this. Is sub-vis the way to go or are there other suggested methods like tabs
0 Kudos
Message 1 of 4
(3,092 Views)
Hi,

There are many ways that you can create an application with multiple panels; the one to use depends on the architecture of you application.

If you want the user to interact with one screen at a time, subVIs are probably the best bet. you can have a state machine launching calling the SubVIs as the user selects something.

If you wan to have multiple panels up and running at the same time, you may need to call some of the VIs dynamically to have the run at the same time as your other VIs. In this scheme you can use an event structure and register the events from the VIs that you load dynamically.

Another trick that I like is to use a hidden tab control. You place a tab control and do not show the tabs, then you create your screens on each tab and ha
ve your show the required tab as the user makes the selections.

I hope this helps, please let me know if you have any further question on this.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 4
(3,092 Views)
Thanks for the response, Juan,

we have looked at the tabs option and it does look like a nice simple way of doing it. Will have a play with the other options. Thanks again.

Peter
0 Kudos
Message 3 of 4
(3,092 Views)
Any time! let us know if you need any help with the specifics.

Good luck with your project.

Juan Carlos
0 Kudos
Message 4 of 4
(3,092 Views)