05-12-2009 11:18 PM
Hi all,
I'm fairly new to Labview and I am working on a project related to control systems. What I have with me is an old program written in 1996 for a DOS based system that interfaces with a Water tank controller device and allows the control of a double water tank system. The software is used for laboratory teaching of control systems. I have to upgrade the software using labview.
The part I'm not able to figure out is how to make a GUI similar to the one of the old software. I need a welcome screen with multiple buttons specifying the various kinds of control the software can perform(PID, fuzzy etc.) When the user clicks on a particular button, the screen changes and a new interface appears with controls and indicators relevant to the chosen option, there may be buttons for further sub-options as well.
I tried using the Event Structure, for different actions corresponding to different button presses, but on the front panel all the controls and indicators for the different types of control appeared together which isn't what I want. Please help!
Solved! Go to Solution.
05-13-2009 12:40 AM
05-13-2009 12:51 AM
05-13-2009 12:59 AM
Rainbow_Warrior wrote:
I tried using the Event Structure, for different actions corresponding to different button presses, but on the front panel all the controls and indicators for the different types of control appeared together which isn't what I want. Please help!
You are heading in the right direction. ![]()
What you need to do is to create SubVIs (UIs) for each of your button clicked [a button click event in VB corresponds to a Value Change event in LabVIEW under normal coding rules) on the Main VI (UI).
I suggest you to go thro' some online tutorials/materials reg the basics of LabVIEW. Also, a google search will give you loads of pdfs to learn LV.
05-13-2009 01:47 AM
Hi, I'm posting the original software that i have to upgrade. basically i want to create the same kind of GUI in Labview (with support for mouse clicks, of course). It doesnt have any functionality by itself but you can get an idea of the GUI i have to create.
Don't worry, its not a virus 🙂
Thanks in advance.
P.S. I wasnt able to upload exe files, so i changed the extension from .exe to .txt. Please rename it to run it.
05-13-2009 02:00 AM
05-13-2009 02:08 AM
05-13-2009 02:45 AM
Hai,
The exe you have attached can be upgraded in LabVIEW and there are pretty good examples that established such architecture. Follow these steps to start with so that you can build the entire application based on those:
1. List out the GUI screens that are required for various activities.
2. Determine the linkage between them and develop the hierarchy flow
3. Now chose the architecture. for this application you can do with state machines and if best suited will be event based Q architecture (just run a search to find good documents on this)
4. Now start building the GUI for each screen classified based on activity so that you will not end up with clumpsy front panels.
Post for any queries
05-13-2009 03:26 AM
05-13-2009 03:43 AM