LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Select file from list box and read data from file

Solved!
Go to solution

I can list files from folder in listbox

1- I want list just .txt files from folder

2- How can i read data from selected file (.txt)?

0 Kudos
Message 1 of 5
(4,349 Views)
Solution
Accepted by topic author keremgeliz

I think this is what you want... enter a pattern into your List Folders vi (e.g. *.txt) and then just use Read Text File.vi using the selected item from the list box (double click event or value change) and use the starting path for the List Folders vi.  I included a rough snippet for your viewing enjoyment.

Message 2 of 5
(4,339 Views)

Hi Inerta.

Can you add vi for lv2012 my internet explorer have problems.

Thank you

0 Kudos
Message 3 of 5
(4,328 Views)

@keremgeliz wrote:

Hi Inerta.

Can you add vi for lv2012 my internet explorer have problems.

Thank you


Why don't you try to build it up yourself?  It is a simple enough of a diagram.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 5
(4,326 Views)

You right again crossrulz 🙂

 

 

0 Kudos
Message 5 of 5
(4,310 Views)