LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem plotting 2* 2D arrays in graph

I have retreived 2 arrays fo data from an excel spreadsheet.  One is time that i would like on the x-axis and the other is data that i would like on the y-axis.  They are in 2D format and i would like help on how to manipulate these into a graph. Column1, row 1 (time) would relate to column2, row1 (data) and so on.
Many thanks.
0 Kudos
Message 1 of 6
(3,080 Views)

Hi, here is an example.

regards

CLD - Labview Certified Developer
0 Kudos
Message 2 of 6
(3,069 Views)

Grant

I would suggest looking at these examples shipped with labview: Write to Text File.vi, Read From Text File.vi, XY Graph.vi and Wavefrom Graph.vi. You can find the in NI Example Finder in Help-> Find Examples ... menu.

Hopefully these will give you an idea where to start

David

0 Kudos
Message 3 of 6
(3,062 Views)
I have attached the block diagram to help explain.  I think i need to convert the 2D arrays into 1D before i start making the graph?
0 Kudos
Message 4 of 6
(3,059 Views)
Like this?
 
 
David

Message Edited by David Crawford on 05-17-2006 10:37 AM

0 Kudos
Message 5 of 6
(3,054 Views)
Thanks all, i was putting the 0 constant into the wrong place on the index array.  All is well!
0 Kudos
Message 6 of 6
(3,044 Views)