From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,548 Views)

Hi, here is an example.

regards

CLD - Labview Certified Developer
0 Kudos
Message 2 of 6
(2,537 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
(2,530 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
(2,527 Views)
Like this?
 
 
David

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

0 Kudos
Message 5 of 6
(2,522 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
(2,512 Views)