LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting a directory or library with the File Dialog VI or File Path control

How may I configure the File Dialog VI (preferably) or File Path control (less ideally) to allow the user to select an existing directory or library? The desired behavior is that of the Mass Compile control, "Directory of VIs or VI library to compile." More generally, how may I configure the VI or control to use LLBs when selecting an existing dir, a new dir, or a new or existing dir?
0 Kudos
Message 1 of 4
(3,073 Views)
On the front panel, right click on the File Path control and select browse options, there you can set the "selection mode" (file or new or existing directory, etc) and file extension patterns as well.

Hope that's enough to get you started...
Message 2 of 4
(3,073 Views)
Quite right. However, the listed selection modes allow LLBs to be used only when selecting files, not directories.
0 Kudos
Message 3 of 4
(3,073 Views)
Aha, I see that in LabView 7 there is an option for directories & libraries, but in LV6 this option isn't there yet, it only has files & libraries.
0 Kudos
Message 4 of 4
(3,073 Views)