LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JonathanLindsey

Resolve links to VI snippets

Status: New

VI snippets are useful but often hard to deal with. Sometimes you can drag one directly from a website into LabVIEW and have it just work. Other times you have to download it, open File Explorer to it and drag the file into LabVIEW.

 

Many times dragging directly from a website doesn't work and results in a comment with a link to the VI snippet. Instead LabVIEW should try to go to the link, download it and insert it as a VI snippet. There are some cases when this will not work (for example the user needs to sign into the website) but LabVIEW should at least try the link. It is possible a link will be provided to LabVIEW that is not a VI snippet in which case LabVIEW should recognize that and just treat it as a normal link.

 

I'm not sure but there may be cases when a PNG image is dragged or pasted onto the block diagram. Is there a possibility for LabVIEW to check if it is a VI snippet and treat it as such?

13 Comments
JonathanLindsey
Member

@wiebe@CARYA that is not an example of what I am talking about. Please see the example I posted above in this thread.

JonathanLindsey
Member

My link to the video doesn't work anymore but the video is right beside the snippet at https://bitbucket.org/JonathanLindsey/lv-snippet-test/issues/1/lv-snippet

wiebe@CARYA
Knight of NI

>@wiebe@CARYA that is not an example of what I am talking about. Please see the example I posted above in this thread.

 

>My link to the video doesn't work anymore but the video is right beside the snippet at https://bitbucket.org/JonathanLindsey/lv-snippet-test/issues/1/lv-snippet

 

Yes, if the image URL ends with .png, that could be automatically detected.

 

Most images would come from the NI Forum though.