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: 

Import CSV file and read a specific column

Solved!
Go to solution

Hi ,

 

Do anyone know who can i import a csv file into labview and read the data from a specific column?

 

Thanks

0 Kudos
Message 1 of 6
(4,672 Views)
Solution
Accepted by huihan26

Hi huihan,

 

yes, a lot of people know how to do this… 😄

 

Ever thought of using ReadFromSpreadsheetFile followed by IndexArray?

Best regards,
GerdW


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

Hi,

 

Browse for the file and there are Read From Text File or Read Delimited Spreadsheet you can use.

Extract the row or column using index array.

0 Kudos
Message 3 of 6
(4,631 Views)

Hello Sir,

Hope you all doing good

 

I have a similar problem while reading the  CSV file, the data read from CSV in LabVIEW is showing in a different format format which is not expected

please find the attached VI and CSV file for reference

 

Please can any one help me with these solving

 

 

Download All
0 Kudos
Message 4 of 6
(3,279 Views)

Delimiter is un-wired and default value is \t. You need to change it to ","

0 Kudos
Message 5 of 6
(3,267 Views)

Hello Sir,

 

Ya sir thank you it worked

0 Kudos
Message 6 of 6
(3,261 Views)