LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change palette directory?

I have a local drive and network drive, and I'm trying to keep all of my files on a networked drive.

My NI LV is installed on my local C drive, so understandably user.lib and instr.lib searches my C drive. I'd like to change that to my network drive, which is in E. How can I do this? I've tried Tools>>Options, then goes to Paths and adding my networked library folders in the VI Search Path, but those libraries that I saved doesn't show up on my palette at all.

 

Is there a way I can change where LV searches for my user and instrument libraries?

0 Kudos
Message 1 of 4
(2,839 Views)

Create a symbolic link to the files? (so they reside on your network drive but appear as though they are in your vi.lib/user.lib folder as well)

 

http://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/

Specifically for network drives: http://superuser.com/questions/210824/creating-a-symbolic-link-to-mapped-network-drive-in-windows


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 4
(2,835 Views)

Adding folders to the Path option, I believe, changes LabVIEW's search pattern when you (for example) put down a Function on your Block Diagram that is not explicitly listed in your Project.  Most of the time, these are functions that you get from the Block Diagram Palettes, but sometimes (for example, if you just open a Top Level VI directly from disk) they will be sub-VIs that just are not currently in memory.  LabVIEW "goes looking" for them, assuming they are in VI.lib, User.lib, or Instr.lib, which have defined locations wherever LabVIEW has been installed (e.g. C:\Program Files x86\National Instruments).

 

If you want to change the directory that the palette uses, that's a bit more complex.  A lot of thought and effort has gone into designing the Palettes to use vi.lib, user.lib, etc. in their default locations.

 

Are you trying to separate your custom palette material from the default NI functions, or are you hoping to have your Network Drive be used for all of your LabVIEW development?  If the latter is the case, the easiest way to do this, probably, is to simply install LabVIEW on the Network Drive in its own folder (I think you can specify, at installation time, the folder LabVIEW uses for itself).  This, of course, goes against all of the careful thought that went into designing Windows, including having additional file protection for Program Files.  Maybe you should consider "going with the flow" -- if User.lib is good enough for the folks who contribute to the LabVIEW Tools Network, might it be good enough for you?

 

Bob Schor

0 Kudos
Message 3 of 4
(2,781 Views)

You are welcome to continue with a network based user.lib and vi.lib, but I wouldn't recommend it personally.

 

Having packages manage system configuration, with dependencies and versioning is a safer method.  Also not having the libraries accessible from an offsite location would suck for me.  But the methods described by others will probably work.

0 Kudos
Message 4 of 4
(2,742 Views)