LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How READ a file?

I made a file in LV Student Edition 7.1...
 
I used "Format into File" to view the info in windows "notebook" and the info was written as below:
 
[Line 1]   $$M2617
(Empty Line)
(Empty Line)
Empresa: Intel
Numero de Parte: 80C51A
(etc)
 
I tried to read all this file info but I only can read: $$M2617... How can I read another line and put all the info into different elements of an Array?
0 Kudos
Message 1 of 2
(2,649 Views)
How are you reading the file?
 
Just read the entire file into a string (using read characters from file), then you can parse the string as desired, e.g. split at linefeeds and place into array, etc.
Message 2 of 2
(2,645 Views)