04-18-2007 09:57 AM
04-18-2007 11:01 AM
I discovered with the Labview "File Dialog" Express VI in 8.2 in the Advanced Filed functions you can choose if you can select multiple files OR a single folder (among other things). However, I am confused about its structure. If you convert the Express VI by opening the FP, you find another subVI, which is made of a function called "File Dialog" that allows you to select multiple files OR a single folder (among other things. should be noted you can only select one of these options). This subVI with the File Dialog function is PROTECTED and REENTRANT. You can change it of course by making it unprotected and non-reentrant, and then you can copy the File Dialog function and use it. My question is: why is it reentrant? It seems to me that you would only want one call to open a file or folder at a time, not several simultaneously. What would be the use in that? Am I missing the point about this subVI being reentrant? See attached for screen shots.
Michael
04-19-2007 09:04 AM
04-19-2007 09:44 AM
04-19-2007 10:01 AM
04-19-2007 10:01 AM
@miguelc wrote:
II was wondering if anyone know of a way to include the button "Current Folder" like you see in many Windows file dialog boxes.
Hi,
Will the attched VI help you to a smaller extent ?
Are you looking something kike this ?
04-19-2007 10:32 AM
Thanks Parthabe. Thats a good solution; when I had first posted I was looking for something like the screen shot attached. I can do that with the File Dialog VI, and with a seperate File Dialog VI select multiple files (which I spent a lot of time researching on these forums, with varying methods of doing so, before I actually found that the File Dialog VI lets you do it) so that problem is solved. My reply to myself is the question I'm still wondering about, why the File Dialog VI has an inner subFileDialog that is protected and reentrant, which ties with the other question of why the regular File Dialog function is not available. If I subVI containing it is protected, I assume there is a reason I shouldn't be using the File Dialog function on its own.
Michael
10-31-2008 01:29 PM