LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading a csv file with a large number of columns

Solved!
Go to solution

Hello

 

I have been attempting to read data from large csv files with 38 columns by reading a line using readline and scanning the linebuffer using scan.

The file size can be up to 100 MB.

 

Scan does not seem support the large number of fields.

 

Any suggestions on reading the 38 comma separated fields. There is one header line in the file.

 

Thanks

0 Kudos
Message 1 of 4
(4,064 Views)
0 Kudos
Message 2 of 4
(4,058 Views)
Solution
Accepted by topic author Eastern

Did you consider using the 'rep' modifier? You may find examples in the help, search for 'String with Comma-Separated ASCII Numbers to Real Array'

0 Kudos
Message 3 of 4
(4,057 Views)

Thanks

0 Kudos
Message 4 of 4
(4,051 Views)