LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I make a shortcut to a VI that is placed in my VI library?

Hi...
I'm making a program in LabVIEW. It uses several sub-VI's, and to keepe track of them all I've placed all my VIs in a VI Library.
Now I would like to be able to start my main-VI from a shortcut placed on the desktop, but I can't seem to create a shortcut to the VI, because it is inside the VI library. Inside the VI library there is no item in the "right-click-menu" where you can "Send to -> Desktop (create shortcut)". Is there any way to create a shortcut to the VI when it is inside a library?
 
Thank you in advance
Jesper Thygesen
0 Kudos
Message 1 of 3
(2,733 Views)
Jesper,
you can create a shortcut to your labview.exe and pass the VI in the llb as a parameter, e.g. with a shortcut target like in the following line:

"path_to_labview_in_your_system\labview.exe" "path_to_the_llb\name_of_llb.llb\name_of_VI.vi"

-Franz
Message 2 of 3
(2,730 Views)
That should work  but I'd also like to add my usual comment about saving VIs in an LLB. This is not a good idea for development. A single corrupt VI can corrupt the entire LLB. LLB's, imho, should only be used for distribution. The LLB was created when Windows did not allow long file names and it's usefulness has long been gone, except as I said,  as a distribution tool. Check the forum for posts from users asking for help in recovering corrupt LLBs and you'll see what I mean.
0 Kudos
Message 3 of 3
(2,721 Views)