LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform charts plotting

I have a data acquisition VI, which acquires two sets of data as x and y values.I have problem plotting them in a waveform chart.I tried bundling them and wiring to the chart, but instead of one plot of x vs y as the data is being acquired, i get to view 2 sets of plots. How to overcome this, so as to plot my x and y values as they are being acquired in a waveform chart.Will someone help.
0 Kudos
Message 1 of 5
(2,951 Views)
Hi veena:
See this example VI. It might help you. Also see XY chart examples in LabVIEW.
0 Kudos
Message 2 of 5
(2,951 Views)
> ... y as the data is being acquired, i get to view 2 sets of plots. How to
> overcome this, so as to plot my x and y values as they are being
> acquired in a waveform chart.Will someone help.

If the X values are evenly spaced, then you can encode them as X0 and
dX, wire these into a cluster with the Y array, and send that to the chart.

If the values are not evenly spaced, one option is to look at the XY
chart example in examples/general/graph/charts. The example uses a
subVI to collect and limit the number of points, the data is then drawn
using an XY graph.

Greg McKaskle
0 Kudos
Message 3 of 5
(2,951 Views)
Hi..my problem is getting to plot the x vs y values as they are being acquired (like a real time plot),and x values are not evenly placed.
Note:Iam working under LabVIEW version 6.0
0 Kudos
Message 4 of 5
(2,951 Views)
Refer this link for ur problem...hope it helps..
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000060010000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=how+to+wire+input+to+the+x+-axis+of+the+waveform+chart+in+labview&USEARCHCONTEXT_QUESTION_S=0
0 Kudos
Message 5 of 5
(2,951 Views)