LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Multiple Files

Is it possible to open and read from multiple files.  Right now my program is setup to read one file.  I used the Read characters from file vi.  This works like a charm, but i want to give the user the option of selecting multiple files.  Any help anybody. 
0 Kudos
Message 1 of 6
(3,268 Views)

Just do it in a loop.  You will probably need to have the UI part of things outside of the loop, but it should be about that simple.

Hope that this helps,

Bob Young

 

0 Kudos
Message 2 of 6
(3,260 Views)
Here is a simple example of using a loop to prompt the user for a file.  The file is opened, read, displayed, and then closed.  If the user presses the cancel button in the file dialog box, the loop exits.
- tbob

Inventor of the WORM Global
0 Kudos
Message 3 of 6
(3,255 Views)
I appreciate your help guys, but i already have it setup in a loop.  I was just hoping there was a way to select more than one file at a time.  Thanks.
0 Kudos
Message 4 of 6
(3,253 Views)
Some time ago I downloaded the attached library from somewhere. I don't remember where and when, but I think it will do what you're looking for ...
... at least if you're using Windows. It uses calls to Windows DLLs.

Regards
Arno
0 Kudos
Message 5 of 6
(3,250 Views)
Thanks Arno,  the vi's you provided will work.  Just have to modified them a bit, but should work.  Thanks again
0 Kudos
Message 6 of 6
(3,228 Views)