01-03-2009 01:39 PM
Hello,
I have acquired two signals for my application using labview 8.5. One is the voltage and other is current in my actuator. These signals are in the form of waveform chart. voltage is supplied intermittently say from time 2sec to 4 sec and then from 6 sec to 8 sec. In between there is no voltage and current. I want to build a xy graph that plots current on x axis and voltage on y axis, then I want to calculate the instantaneos power and total power (P=VI) as well. I have tried different bundling but have not been successful.
Any help is much appreciated. Thanks.
01-03-2009 06:01 PM
01-03-2009 06:15 PM
Displaying a Single Plot on XY Graphs
The XY graph accepts three data types for single-plot XY graphs. The XY graph accepts a cluster that contains an x array and a y array. Refer to the (X and Y arrays) Single Plot graph in the XY Graph VI in the labview\examples\general\graphs\gengraph.llb for an example of a graph that accepts this data type.
http://zone.ni.com/reference/en-XX/help/371361A-01/lvconcepts/types_of_graphs_and_charts/
Thats the page that came from. You have to use arrays into clusters as that says. Sorry I can't put an example on here I don't have Labview on this computer but there are tons of shipping examples to help I believe that should clear up your confusion pretty quickly. That is as long as you are sure the data is getting to the computer 🙂
01-07-2009 04:39 PM
I am wondering how come I cannot graph these data. I have an upper, lower limit, and data I would like to graph. I followed the tutorial and bundle my plots and build and array for each single plot. In addition, why are my numbers rounding up/down as oppose to showing its precision points.
Please help. Thanks.
Please see attach VI.
01-07-2009 10:47 PM - edited 01-07-2009 10:51 PM
Your data does not make much sense to me : what do you want to plot ? Are you really trying to use column 1 (that contains no numeric values) as x values ???
Then why you are trying to send these non-sense data to a waveform graph instead of an XY graph ?
Additionnaly, you are using a multicolumn Listbox (usually used to display a list where the user can select an element) while you should be using a table.
And where is the rounding problem ?
01-08-2009 07:22 AM
That is correct. I am trying to graph column 1 which contains no numerical values its corresponding values on column 2, 3, & 4.
Is that possible?
I changed my multicol list to a table and started the index at one. I still have an error.
The nonsense data is a simplify version I made up.
Thanks!
01-08-2009 12:28 PM
EileenL a écrit: I am trying to graph column 1 which contains no numerical values its corresponding values on column 2, 3, & 4.Is that possible?
I changed my multicol list to a table and started the index at one. I still have an error.
The nonsense data is a simplify version I made up.
You can't plot non-numerical data on a numerical graph. The thing you can do is to use a waveform graph. There, the x scale defaults to 0, 1, 2....
Now you have to find a way to place the labels (from column 1 in your data) at the proper place on the x axis. May be I'll have some time later to think about vthis problem.
01-08-2009 01:29 PM
Thanks!
I asked a coworker and a recommended suggestion is to assign 1-X numbers for the things I want to graph and have a chart at the bottom of the graph referencing the non-numeric to numeric.
It worked well.
06-04-2013 12:17 PM
I am using XY wave form graph for plotting from 0.1 to 50 log scale and 51 to 60 linear scale ,61 to 250 log scale in 3 different section .xy graph i am using as sub vi.problem is i am unable to hold the previous plot switching from different section.kindly helpme out solving this problem.using solatron fra
06-05-2013 09:18 AM
Hello,
I don't know all the inputs from your application, but maybe the attached VI will help?