LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract a column and certain range of data in that column from txt file

I have .txt file from a labview program which we developed for processing data. This text file has five columns and I want to extract two columns out of those five. Also, I want to select a range of value from that column. There are like 50 text files. Could you please give me a clue how to proceed. 

0 Kudos
Message 1 of 3
(568 Views)

Hi bufferlab,

 


@bufferlab wrote:

This text file has five columns and I want to extract two columns out of those five.

Could you please give me a clue how to proceed. 


Use IndexArray to "extract" your columns…

 


@bufferlab wrote:

Also, I want to select a range of value from that column.


That sounds like you need ArraySubset…

 


@bufferlab wrote:

There are like 50 text files. Could you please give me a clue how to proceed. 


That sounds like you need to process those files in a loop…

 

What have you tried and where are you stuck?

Best regards,
GerdW


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

Thank you for your reply. I haven't tried anything as I have no clue how to proceed. Though I have a matlab program for that I want to still use Labview.

0 Kudos
Message 3 of 3
(518 Views)