LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

new directory.vi

When I add a control to the NEW DIRECTORY.VI I am not able to choose a directory. Instead, the full path to teh file chosen is used as the directory name. I have attached a vi, which I feel probably is unecessary, which cuts the end of the file path and actually crates a directory. I still get an error when I chose a file (Error 10- LabVIEW: Duplicate path.)

Does anyone have an explanation?

Thanks,
Ivanka
Message 1 of 5
(2,645 Views)
Right click on the 'Browse' button and select "Browse Options". You will then see a pull down menu where you can select 'new dir' to be able to browse to an exsisting directory and create a new one.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 5
(2,640 Views)
I don't follow you. Are you speaking of teh BROWSE button on the toolbar? I do not have an option ot BROWSE OPTIONS there.
Message 3 of 5
(2,633 Views)
Ivanka,

Ed means the little button with a folder icon on it that's typically displayed just to the right of a path control. If there is no little folder button, then right-click on the path control itself and select Visible Items >> Browse Button.

You don't actually need to see the browse button to change the browse options, since you can right-click on the path control itself, but you'll need the browse button if you want the user to be able to choose a location interactively.

Since the path control is designed to handle so many different situations, its interactive use can still be pretty mysterious to someone who isn't familiar with LabVIEW widgets. To specify that new folder interactively, the user will have to type its name into the "File Name" box and then click the Save button. Pretty non-intuitive. Maybe other people have tips for making it more intuitive...

--John
Message 4 of 5
(2,628 Views)
Thank-you!
0 Kudos
Message 5 of 5
(2,607 Views)