LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting String Titles from .csv and displaying

Solved!
Go to solution

Hello, I am trying to extract the titles from each column of a .csv and instead of printing the title, it prints 0s. Below is an example of the .csv I am trying to extract from, and the portion of my LabView program that pertains to this. Thank you for the help.

Headers.PNG

tareyes_0-1693564739651.png

 

0 Kudos
Message 1 of 2
(495 Views)
Solution
Accepted by topic author tareyes

Hi tareyes,

 


@tareyes wrote:

Hello, I am trying to extract the titles from each column of a .csv and instead of printing the title, it prints 0s.


Simplest solution:

Read the spreadsheet file as array of strings and use the first row.

Then read the file again and use the numeric values…

 

(Read the complete help for the ReadSpreadsheetFile function as it offers some options!)

Best regards,
GerdW


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