LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to plot data from table onto different axis on graph

Hi all,
I would like to plot some data of Data B and C (y axis) against Data A (x axis) onto a graph. The table which I have created contained string of characters. I think I have managed to extract them out from the arrays. But I don't know how to plot the data from the table respectively to onto the graph. Please help.
vi attached.
Thanks
0 Kudos
Message 1 of 3
(2,884 Views)
You have sliced out the correct portion of your table, however you did not realize that you can apply the string to number conversion on the entire array. Once you've got that, you can index out each column of data and assemble the plots. Also, I noticed that you selected a waveform graph instead of an X-Y. Since your X data may not be evenly spaced, and you want it defined by the table, you should use the X-Y. I have attached my modification of your VI to demonstrate.

Enjoy,

Daniel L. Press
NI Certified LabVIEW Developer
PrimeTest Corporation
www.primetest.com
Message 2 of 3
(2,884 Views)
Hi Dan

I appreciate your help. Thank you for taking
your time to answer my question. Sometimes, I look into the NI Library Code but could not find the "right" solution to my problem.
Anyway, cheers!

woo
0 Kudos
Message 3 of 3
(2,884 Views)