09-30-2010 08:23 PM
Ok. Thanks for the information. Lets say I would want to jus bring out 4 graphs and connect them to 4 different buttons. How do I go about connecting them, so that they'll overlap each other as their respective buttons are clicked. Eg. if Button 1 is clicked, the graph 1 should come out. & if Button 2 is clicked after that, graph 2 should over lap it.
09-30-2010 08:38 PM
You can drag the graphs to any position you want and can also use the align button the toolbar. You could make each one visible/invisible with a property node.
If you think this is important, I would strongly disagree. Your first task is to talk to your hardware, get the data, and perform whatever control it might need. When that is done, you can make things look pretty.
09-30-2010 08:47 PM
I'm trying to get my basic interface up. My supervisor asked me to get the graphs and the buttons working first before talking about hardware.
09-30-2010 09:05 PM
I would recomend that you use the event structure as the basis for the user interface. There are examples that come with LabVIEW.
10-01-2010 01:21 AM
Can someone explain to me what is going on in this program. I need to understand this. Whether the connection is correct or wrong.
10-01-2010 01:57 AM
Its not a program at all... What you want to do?... Make it clear... I dont find any sense in doing that... There is nothing good to understand... Without knowing what your problem is how can be said right or wrong?????
I have attached a very simple VI to use a chart... you can see how can the buttons be used...
10-01-2010 02:42 AM
I can't load your file. Because my labview version in my campus computer is 7.1
10-01-2010 03:24 AM
Ok please post it to Downconvert VI thread.. Sorry i can't convert it to 7.1...
10-01-2010 01:59 PM
@karnan wrote:
Can someone explain to me what is going on in this program. I need to understand this. Whether the connection is correct or wrong.
The connections are VERY wrong and you seem to be misunderstanding some basic concepts here. What you did was stack 4 graphs on top of each other and then you wired a boolean switch to the X-axis of each. That makes no sense at all.
Do you understand what XY data is and how to make a graph to visualize it? Generally it shows how some variable changes with respect to time. You have no data at all to graph yet.
Despite what your supervisor says, there is NO reason to stack graphs on top of each other and make them visible one at a time with buttons. Display ALL the graphs ALL the time. Worry about writing the code that collects and displays useful information in them. Not cosmetic fluff! That comes at the end of your project IF you have the time.
Check out the examples here: Help > Find Examples... Fundamentals > Graphs and Charts > XY Graph.vi (and Waveform Graph.vi). If the examples are confusing to you, you may need to study the LabVIEW Basics tutorials: http://www.ni.com/gettingstarted/labviewbasics/
10-05-2010 01:00 AM
I need an explanation on case structure dealing with graphs. I've been trying to bring out the graph using a case structure but when it runs, it changes the graphs on its own, not when the buttons are clicked. The values are not important now though. So please do not say that I did not include any values. Please do not shoot me with your comments because I am really trying my hardest to learn this software as fast as I can. And it's getting more difficult as I try. Thanks .