LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW XY graph

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. 

0 Kudos
Message 1 of 11
(14,662 Views)
Most people on here are gonna ask for an attachment or an image to see what you have or have tried already. It's hard to help without seeing what you have in order to address any mistakes.
0 Kudos
Message 2 of 11
(14,638 Views)

 

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 🙂 

0 Kudos
Message 3 of 11
(14,633 Views)

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.

0 Kudos
Message 4 of 11
(14,554 Views)

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 ?

 

Message Edité par chilly charly le 01-08-2009 05:51 AM
Chilly Charly    (aka CC)
Message 5 of 11
(14,542 Views)

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!

0 Kudos
Message 6 of 11
(14,514 Views)

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.
 

 

Chilly Charly    (aka CC)
Message 7 of 11
(14,499 Views)

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. 

0 Kudos
Message 8 of 11
(14,488 Views)

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

0 Kudos
Message 9 of 11
(11,135 Views)

Hello,

 

I don't know all the inputs from your application, but maybe the attached VI will help?

Download All
0 Kudos
Message 10 of 11
(11,105 Views)