LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

chart from file

I have been save 2D array with write spreadsheet.vi.
And I want to show 2D array in one chart which these 2D are both in y scale.But chart needs cluster and read spreadsheet.vi only provides 2D array .Would you advise me how to solve it.
0 Kudos
Message 1 of 2
(2,568 Views)
Hi,
you can use "Functions/cluster/array to cluster.vi" to cnvert arrays to cluster. Also if you have 2D array of data from different channels (for example 2 channels x 100 samples) you may need to transpose your array before converting to cluster. After transposing you have to wire the 2D array to the For loop which will give you inside the loop the arrays of current data from different channels (ch1[i], ch2[i]). And then inside the loop you have to convert this 1D arrays to cluster and wire them to Waveform chart.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 2
(2,568 Views)