LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView startup configuration script?

Solved!
Go to solution
Hello, Is there anyway to write a script or change the options/settings somewhere in LabView so that when LabView starts it references a configuration file somewhere on a server?   This question comes about because of another question: Is it possible to create a new VI User Library with the VI repository as a shared folder on a server?  I've found that you can add paths in the "paths" section of the LabView options.  I created a folder and placed a custom made VI within the folder.  I then added this folder path to the list of paths.  When I restart LabView, the VI I created can then be found by going to the block panel palette and selecting "Select VI" from the list.  It then opens up a browser window with a default path to the folder path I just created in the LabView Options >> Paths page.  Obviously, within this folder, I can find my VI.  However, I would like my custom VIs to appear in the  “User Libraries” section of the palatte. What I would really like to do is have my team save all their custom VIs to a shared folder on the network and then have these VIs appear in the "User Libraries" section of the block panel palette (instead of having to do to "Select VI").  On top of this, I would like to create, perhaps, a start up script so that when one or multiple of my teammate starts LabView, LabView automatically configures the paths in the Option page so that the custom defined VIs appear in the "User Libraries" (as stated above).  Is this possible? If so, can anyone explain how? 

Thanks!

0 Kudos
Message 1 of 4
(3,052 Views)
Solution
Accepted by topic author PhilipJoeP

Hi PhilipJoeP,

 

The LabVIEW help has directions on how to add VIs to the User Libraries pallette.  I did a test with a network folder.  I made a shortcut to the network folder and placed the shortcut in the <LabVIEW>\user.lib folder.  The network folder was then available under the User Libraries pallette.  Keep in mind you need to restart LabVIEW after adding the shortcut.

 

Does that do what you want it to?

 

Best Regards,

Bryan H.
Message 2 of 4
(3,032 Views)
This definitely helps!  Thanks!
0 Kudos
Message 3 of 4
(3,030 Views)
Message Edited by PhilipJoeP on 05-05-2009 12:27 PM
0 Kudos
Message 4 of 4
(3,029 Views)