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: 

read perticular collumn of xls file

Solved!
Go to solution

hi

 

i have one data file in which i want to read 3rd column(c) and want to plot it with respect to time.

 

help reuired please

 

thanks

0 Kudos
Message 1 of 5
(2,258 Views)

Hi kabariya,

 

first you should rename that file to "*.csv", it's not a real Excel XLS file...

 

Then you should use ReadFromSpreadsheetFile to load the file and IndexArray to index the 3rd column. When you know the time of the data creation you could use a waveform to plot your data, otherwise simply plot the column data over an arbitrary X axis...

 

Edit:

You have asked this in a different thread before. WHY DO YOU CREATE DOUBLE POSTS FOR THE SAME TOPIC?

Best regards,
GerdW


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

hi

 

so what to do  to convert

 "*.csv" file to Excel XLS file...

 

0 Kudos
Message 3 of 5
(2,227 Views)
Solution
Accepted by topic author kabariya

Hi kabariya,

 

your attachment is actually a CSV file so all you need to do is to rename it...

Best regards,
GerdW


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

yes i would like to do this.

 

thanks

0 Kudos
Message 5 of 5
(2,179 Views)