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: 

plot multiple graphs from excel table

I want to plot multiple graph which collect data from excel file where X axis is fixed in the range of 1 to 50. I want to compare different 50 data of Y axis. what can I do for this?

0 Kudos
Message 1 of 8
(2,591 Views)

Hi yash,

 

what can I do for this?

Well, you need to:

- read the Excel data (is this really an Excel file - or just simple CSV data?)

- plot the data on graph(s)

- do the comparison as required

What have you tried so far? Where are you stuck?

 

I want to plot multiple graph

Do you want multiple graphs - or just multiple plots in just one graph?

 

I want to compare different 50 data of Y axis.

Different to what?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 8
(2,588 Views)

It is usually most helpful to us (in order to help you) if you include (a) the code that you have tried (or started) to write to solve your problem, and (b) an example of the data that you want to read/analyze/write.  Doing so would have answered several of GerdW's questions ...

 

Bob Schor

0 Kudos
Message 3 of 8
(2,548 Views)

@yash612 wrote:

I want to plot multiple graph which collect data from excel file where X axis is fixed in the range of 1 to 50. I want to compare different 50 data of Y axis. what can I do for this?


The type of posts that appear when LabVIEW jobs are exported to India!

 

.

0 Kudos
Message 4 of 8
(2,537 Views)

hello everyone,

sorry for late reply.

I have attached my data file. so you can understand what I want to plot. I have used text delimited file to read data. but after reading these data, I have no idea to create multiple plot in just one graph.

0 Kudos
Message 5 of 8
(2,513 Views)

Hi yash,

 

so you have a text file and we should create a VI for you?

What have you tried so far? Where are you stuck?

 

And why don't you try to learn from other people in this forum with basically the same problem at the same time?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 8
(2,506 Views)

hi,

No I didn't mean that you create a VI for me. I have used ' Read delimited spreadsheet.vi' to read data from this file,but I have no idea for next step.I need help for plotting these data in one graph.

0 Kudos
Message 7 of 8
(2,503 Views)

Hi yash,

 

again: what have you tried so far? How does your VI look like?

 

Which datatype did you use when reading the spreadsheet file?

 

Simple steps:

Index the columns, then build plots from them.

Put those plots into an array of plot and wire this array to your graph.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 8
(2,500 Views)