LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to read lines from file, count it and extract numbers from a first line.

i must do un loop?
0 Kudos
Message 1 of 3
(2,802 Views)
HI,
i try to explain how to use to LABVIEW TOOLS...

1. USE a for next loop
2. here you must open the file with the VI. read lines from file.
you can choos how many lines you read at same time.
3. the string you can convert into an number.
4. in the loop is the literal counter... this is you line couter....



iun schrieb:

> i must do un loop?
0 Kudos
Message 2 of 3
(2,802 Views)
The exact details of how you do it depend on the file format. There are several file read functions that come with LabVIEW. You might want to start with one of them. If you would attach an example of the file and details of what you need from it, more help could be provided.
0 Kudos
Message 3 of 3
(2,802 Views)