LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read from measurement file path problem

I'm having trouble using the read from measurement file VI (LV 8.5).  I'd like to have a file path block that allows the user to browse to a specific file, and have that file be read.  I know that in the read VI properties there is an option to ask the user for the file, but I've got 5 of these in one event structure, and would prefer that the dialog boxes not pop up one after another.  I'd like for the paths to the files to be assigned before activating the event structure.  I've tried just tying a file path block into the file name input on the read VI, but obviously that didn't work.  Should this be a combined file path/string, or something of that nature?
0 Kudos
Message 1 of 4
(2,222 Views)

Hi Jeanius,

you can use a path control to allow the user to select a path before using the function. Do you need a dialog?? Why do you read the file 5 times? Are this all different files? You can also use the express "file dialog" or you "build" your own with using the standard file i/o vi´s.

 

Mike

Message 2 of 4
(2,218 Views)
Thank you, I'll give that a try now.
0 Kudos
Message 3 of 4
(2,196 Views)
The file dialog VI worked perfectly, thanks so much!
0 Kudos
Message 4 of 4
(2,180 Views)