shashank Posted September 13, 2007 Report Share Posted September 13, 2007 Dear People, i am very new to labview and i am using version 8.2. I wnt to create a graph with a data set with values as given below. -6 --> 0,002472623 -5 --> 0,006692851 -4 --> 0,01798621 -3 --> 0,047425873 -2 --> 0,119202922 -1 --> 0,268941421 0 --> 0,5 1 --> 0,731058579 2 --> 0,880797078 3 --> 0,952574127 4 --> 0,98201379 5 --> 0,993307149 6 --> 0,997527377 i want to plot this values on a graph and then when i give a inpout asking for the value of 5,5, it shud return the value on the y axis. can anyone please help me with this VI. i will be highly obliged. Quote Link to comment
Justin Goeres Posted September 13, 2007 Report Share Posted September 13, 2007 QUOTE(shashank @ Sep 12 2007, 01:20 AM) I wnt to create a graph with a data set with values as given below. In the menubar in LabVIEW, go to Help >> Find Examples... >> (Search Tab) and search for "XY graphs". That should get you some examples on how to use the XY Graph indicator. QUOTE(shashank @ Sep 12 2007, 01:20 AM) i want to plot this values on a graph and then when i give a inpout asking for the value of 5,5, it shud return the value on the y axis. can anyone please help me with this VI. i will be highly obliged. Look in your function palettes under Mathematics >> Interpolation & Extrapolation. Browsing the palettes and wandering around in LabVIEW's Help facilities are the first things I do when facing a problem I don't know the answer to. :thumbup: Quote Link to comment
mross Posted September 13, 2007 Report Share Posted September 13, 2007 You will need to use the XY Graph function. This will be found in the palettes. If you turn on the context help (Ctrl-H) when you pass your cursor over the XY graph icon you will see in the context help the data formats needed to serve the numbers to the graph. Create and fill out this datatype with your data, wire it to the graph and run the VI, the data will be displayed in graph form. The normal first step is to try and find the answer yourself by looking in the Help section, finding VI Examples, and querying the knowledge base at www.ni.com and other places you will learn about, after you have tried these things ask for help in the forums. It is generally felt that you should expend similar or more effort than the person answering your question will have to expend. This request has the sound of someone asking for help with their school work which always raises the ire of someone like...me! Also, this question is inappropriate for the Application Design & Architecture forum. A basic question such as this one should be placed in the LabVIEW general forum. Mike QUOTE(shashank @ Sep 12 2007, 04:20 AM) Dear People, i am very new to labview and i am using version 8.2. I wnt to create a graph with a data set with values as given below. -6 --> 0,002472623 -5 --> 0,006692851 -4 --> 0,01798621 -3 --> 0,047425873 -2 --> 0,119202922 -1 --> 0,268941421 0 --> 0,5 1 --> 0,731058579 2 --> 0,880797078 3 --> 0,952574127 4 --> 0,98201379 5 --> 0,993307149 6 --> 0,997527377 i want to plot this values on a graph and then when i give a inpout asking for the value of 5,5, it shud return the value on the y axis. can anyone please help me with this VI. i will be highly obliged. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.