取消
显示结果 
搜索替代 
您的意思是: 

LabView startup configuration script?

已解决!
转到解答
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 项奖励
1 条消息(共 4 条)
3,098 次查看
解答
已被主题作者 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.
2 条消息(共 4 条)
3,078 次查看
This definitely helps!  Thanks!
0 项奖励
3 条消息(共 4 条)
3,076 次查看
Message Edited by PhilipJoeP on 05-05-2009 12:27 PM
0 项奖励
4 条消息(共 4 条)
3,075 次查看