LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving part of a Text File

I have csv files that have YEARS of data.  What is the best way to grab the first 100 lines?  I have to do this for 200 files then run four math functions on each so pulling in all the data will be really taxing because this will be happening at worst case once a minute for each file.
 
Best Regards
Tim C.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 1 of 3
(2,471 Views)

"Years of data" does not mean much unless we know if its 1 line/month or 1 line/nanosecond. 😄

Just use "read from text file", and right-click the icon and select "read lines". No just wire a 100 to the count input and you'll get the first 100 lines. 🙂

Check the help for details.

0 Kudos
Message 2 of 3
(2,464 Views)
Thanks, very helpful as always 🙂
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 3 of 3
(2,459 Views)