LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read at each new line from .txt file

Hi guys

I want to read from a file which I am saving using labview. What I am doing is reading 128 bytes fro VISA port and saving it in .txt file with new line constant. At some later time I want to read 128 bytes from that text file do some processing and display it. The "read from text file" vi has convert EOL but I am not able to configure it. Please help me..Smiley Indifferent

Thanks in advance

Niladri

 

0 Kudos
Message 1 of 3
(2,494 Views)

Right click the read from text file where you have the option to disable the EOL conversion. Just click over that you will see the EOL disappear in the Read from text file primitive.

 

EOL.PNG

 

Good luck

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 3
(2,489 Views)

Hi Newbee_3,

                                              Do 1 thing, Read the txt file & convert this into string, Then you have all the flexibility to do whatever you want.

 

Thanks

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 3
(2,458 Views)