ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph & array

Hey everyone,
I am having a conceptual problem. I have an array that has 8 elements
and I want to plot them in on the same graph. I can't use a waveform
chart because it crashes on the PDA platform. If i try wiring the array
to a waveform graph it works but I only get 1 value for it being
plotted. I want to use an XY graph but I can't wire it directly because
it isn't a cluster of arrays. I am not sure how to go about plotting
this data. Thank you in advance.

0 Kudos
Message 1 of 5
(4,598 Views)
Hi GHernandez,
 
    The following information may help you:
 
    You can bundle your array as a cluster,than show it by XY Graph.
0 Kudos
Message 2 of 5
(4,577 Views)

Hello,

It is quite easy, I think the help topic about Graphs and Charts is quite well done, have quick look at it 😉

There is a quick way to plot your 8 (or more.. or less) elements in an XY graph, I hope this is what you were asking for and thatit wil work on your PDA Smiley Surprised


Message Edité par TiTou le 02-23-2006 07:37 AM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 3 of 5
(4,578 Views)
Also, search the example finder for XY Graph, and you will find an example which shows you exactly how to do this.

___________________
Try to take over the world!
0 Kudos
Message 4 of 5
(4,569 Views)

Keep your array as y axis and create another array of x axis with the corrresponding indices of each of original Y array's elements.

Now bundle both these arrays and plot

0 Kudos
Message 5 of 5
(4,558 Views)