LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading lines form a text file formatted in a specific way

Hi,

 

Is there anyway of, when reading a text file, to only process data formatted in a certain way. I have files of data with a header that I need to ignore so this would be very useful.

 

Thanks in advance

 

Jack

0 Kudos
Message 1 of 12
(2,767 Views)

could you post one of these files? and specify please which exactly fields you need to read

0 Kudos
Message 2 of 12
(2,760 Views)

and yes, do you want to read them into array or only once?

0 Kudos
Message 3 of 12
(2,756 Views)

Ah, I suppose that would be useful. Please see the example attached

0 Kudos
Message 4 of 12
(2,725 Views)

got it

0 Kudos
Message 5 of 12
(2,723 Views)

...and I am reading them as an array.

0 Kudos
Message 6 of 12
(2,722 Views)

Try this out I make a subvi for you.

0 Kudos
Message 7 of 12
(2,710 Views)

Thankyou very much.

 

Unfortunately I am running Labview 9 and there is an error message when I try and open/run it - is there any chance you could take a screenshot of the block diagram?

 

Thanks again

0 Kudos
Message 8 of 12
(2,705 Views)

 


@jnaumann wrote:

Thankyou very much.

 

Unfortunately I am running Labview 9 and there is an error message when I try and open/run it - is there any chance you could take a screenshot of the block diagram?

 

Thanks again


 

0 Kudos
Message 9 of 12
(2,697 Views)

Actually I decided to inmprove it a little bit, to read the data a little faster, you will see why.

0 Kudos
Message 10 of 12
(2,695 Views)