LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ideas to implement a GUI

Hello Fellow Engineers!
I would like some useful insights from all of you. I need to build a GUI with a menu button that gives many options. Clicking any one option should open the associated block diagram and front panel where the user can enter fields of data. Each option on the menu button leads to a different block diagram and therefore a different front panel (each opening on a different screen/window). These separate programs associated with each option in the menu button is being developed by different people and I would like to integrate it all into a interactive GUI, wherein clicking any option on the menu button opens a new interactive window for the user. This is being done in LABVIEW 8.2. I would like some ideas on how to start building such a structure using event driven programming.
     I would like some ideas on how the clicking of a button (say, that's one event) triggers the opening of a new window and screen and how I can return back to the main window.

I await some useful ideas from all of you,
With warm regards,
Aparna.

Student, Ulm,
Germany.
0 Kudos
Message 1 of 2
(2,476 Views)
Hi Aparna,

it seems you are talking about subvi's...
Those vi from "different people" should be set to "Open front panel when called" and "Close FP when finish" in their vi properties. The subvis should have a "back" button to close the frontpanel and to end all running loops to get back to the main vi (your GUI).

Now make an enum (or a ring, when you want to change the menu at runtime) with an entry for each subvi you want to call.
Make an event structure with an event "value change" for this enum. Wire the enum to a case structure, put the subvis in their specific case.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(2,468 Views)