05-04-2016 09:38 AM
Hello All,
I created a vi that will read text files from a specific path and display this data onto a wavechart. I was wondering is it possible to have my vi read specific lines from this text file instead of the whole text file? For example, if I wanted my vi to read only lines 27-31 from the text file and string this data onto a wavechart is it possible to do so? Thanks in advance
05-04-2016 09:54 AM
@Theopolis wrote:Hello All,
I created a vi that will read text files from a specific path and display this data onto a wavechart. I was wondering is it possible to have my vi read specific lines from this text file instead of the whole text file? For example, if I wanted my vi to read only lines 27-31 from the text file and string this data onto a wavechart is it possible to do so? Thanks in advance
Not really...
Just read it all into an array and use the array tools to select the lines you want from the array.
05-04-2016 09:57 AM
05-04-2016 02:08 PM
@Theopolis wrote:
Thanks man
Thanks are given with Kudos and marking solutions.
Also if you want to read a file one line at a time you can right click the Read from Text File and select Read Lines. You can read lines 23 by ignoring the first 22 lines.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-04-2016 02:10 PM
05-04-2016 02:42 PM
Then don't read it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-04-2016 05:02 PM - edited 05-04-2016 05:02 PM
Hooovahh, no need for the loops...
05-04-2016 05:04 PM