Showing results for 
Search instead for 
Did you mean: 
Reply

Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

Solved!
Go to Solution
Highlighted

Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

Hello there. I cannot seem to plot my waveform chart into stacked plots and the chart is somehow incorrectly put. Can anyone help me with it or point out which I should change? 

0 Kudos
Message 1 of 9 (285 Views)
Reply
0 Kudos

Re: Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

Hi ping²,

 

don't use ExpressVIs!

 

The context help of the chart explains how to provide data!

Why don't you wire your 2D array directly to the chart? (Maybe all you need is an additional TransposeArray function!)

Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 (+ LV2016 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink
0 Kudos
Message 2 of 9 (276 Views)
Reply
0 Kudos

Re: Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

Thanks for your response. I have removed all functions in the middle and replace it with transpose. However the chart does not response to my csv file attached. Below is the result. My expected outcome would be like the graph attached below. 

 

I do have done the graph in xy graph, but I needed result to be stacked.

0 Kudos
Message 3 of 9 (268 Views)
Reply
0 Kudos

Re: Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

[ Edited ]

Hi ping²,

 

you need to enable the stacking behaviour at edit time in the chart properties…

Did you?

It works for me:

check.png

 

That's the problem when people only attach images: we cannot examine their code nor can we debug those images!

Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 (+ LV2016 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink
0 Kudos
Message 4 of 9 (254 Views)
Reply
0 Kudos

Re: Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

Below is what I got so far. I can't seem to get my csv data to corresponds to the waveform chart. 

0 Kudos
Message 5 of 9 (248 Views)
Reply
0 Kudos

Re: Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

[ Edited ]

Hi ping²,

 

it works for me:

check.png

- You should enable autoscaling of the x axis.

- As I already mentioned: don't use ExpressVIs for this simple task!

Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 (+ LV2016 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink
Message 6 of 9 (233 Views)

Re: Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

Thanks, I'm almost there. The result outcome you generate is exactly my aim. However I still cannot get that specific result.

0 Kudos
Message 7 of 9 (229 Views)
Reply
0 Kudos
Solution
Accepted by topic author pingping12
‎04-21-2017 04:31 AM

Re: Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

[ Edited ]

Hi ping²,

 

I repeat a sentence of my last message:

You should enable autoscaling of the X axis.

Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 (+ LV2016 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink
Message 8 of 9 (223 Views)

Re: Required: read from spreadsheet csv of 14 columns into Waveform chart with stacked plots

Great!! Got it! Many thanks!

0 Kudos
Message 9 of 9 (214 Views)
Reply
0 Kudos