LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

?Select vi's from different folders

Hi!

From the function palette I would like to have user defined "Select a VI..."-like options
that shows the open dialog in a defined folder.
For example:
A user defined "Driver VI..." will open the folder where we store drivers (on a network drive).
Likewise, "Tool VI..." opens the folders which holds the tool VI's and "Project VI..." opens the folder
where the current project is stored. You get the point.

I hope that this can be done or at least solved in another way. I hope to get some help for this one.
This would speed up the "tree walking" considerable.

Thanks,
Magnus Myhrberg
Ericsson AB
Boras
Sweden
0 Kudos
Message 1 of 9
(3,009 Views)
It sounds like you want to modify the function palette to add palettes of VIs that you have created. This is very easy to do and is covered in the documentation.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 9
(3,009 Views)
RTFM 🙂
"Magnus@EAB" wrote in message
news:5065000000080000007E760000-1042324653000@exchange.ni.com...
> Hi!
>
> From the function palette I would like to have user defined "Select a
> VI..."-like options
> that shows the open dialog in a defined folder.
> For example:
> A user defined "Driver VI..." will open the folder where we store
> drivers (on a network drive).
> Likewise, "Tool VI..." opens the folders which holds the tool VI's and
> "Project VI..." opens the folder
> where the current project is stored. You get the point.
>
> I hope that this can be done or at least solved in another way. I hope
> to get some help for this one.
> This would speed up the "tree walking" considerable.
>
> Thanks,
> Magnus Myhrberg
> Ericsson AB
> Boras
> Sweden

>
0 Kudos
Message 3 of 9
(3,009 Views)
Nope, you don't understand the question !!!
RTFQA ... (FTF Question Again 😉

I don't want to have acess to the VI's directly but the folder itself. The solution with direct access to VI's is to slow, network drive with lots and lots of VI's...
And that I KNOW how to do... I don't think its possible to have it my way but hoppfully I'm wrong.

I want an Ikon to represent a folder (keyword is: open a "open a file" dialog)!

So RTFM doesn't help so please spare me these kind of answeres...

--
Magnus Myhrberg Test Software Engineer
Ericsson AB
Boras
Sweden
0 Kudos
Message 4 of 9
(3,009 Views)
Sorry, but there's no way to bring up a custom dialog box. The closest you can get was my previous suggestion. The only other thing to do is try and find a utility that modifies the default file dialog box to incorporate a list of folders you have been to recently. (and you need one that works better than the one built into windows XP--it's way too slow to be useful).

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 9
(3,009 Views)
Mike is correct. You can not add a dialog window to the functions pallette. I like the idea, though.
J.R. Allen
0 Kudos
Message 6 of 9
(3,009 Views)
Thanks for you input Mike.
That would do too you know, modifying the dialog but I'm not aware of any way to do that... but sometimes software can surprise you!

I've been in contact with local NI support and they will contact the NI in the US. Maybe they could add this option in an updated version of LV. You can always day dream...

Magnus Myhrberg, Test Software Engineer
Ericsson AB
Boras
Sweden
0 Kudos
Message 7 of 9
(3,009 Views)
I may not fully understand the question either, but here are two ideas.
1. In your My Documents folder, create shortcuts to the folders on the network drive. You may want to place these shortcuts in their own folder, e.g. "LabViewDrivers" or "__LabViewDrivers" if you want it to show up at the top of a name-sorted list. When you go to Select a VI, there's an icon bar on the left with My Documents on it, so it's always easy to get to My Documents. Then the shortcuts will save you some tree navigation.
2. Create folder shortcuts in the user.lib folder (C:\Program Files\National Instruments\LabVIEW 6.1\user.lib). Next time you start LabView, when you go to the User Libraries palette, you'll have an icon for the shortcut (.lnk file) and you can browse to anything
below that.
0 Kudos
Message 8 of 9
(3,009 Views)
1) I'm sorry to say but we are running Windows NT 4 😞

2) Doing this causes LV to scan through the whole folder and subfolders and add an ikon for each VI found. That doesn't work for us 'coz we have for an example 1000+ VI's in our Drivers folder located on the network (rather slow and running ClearCase).

Thanks for trying to help Al, #1 is the one that could have work if we was running anything better than NT4, I guess.

--
Magnus Myhrberg, Test Software Engineer
Ericsson AB
Boras
Sweden
0 Kudos
Message 9 of 9
(3,009 Views)