Phillip Brooks Posted July 30 Report Share Posted July 30 (edited) Haven't used snippets in a while but tried to import something today. The link below explains how to allow me to drag/drop. Unfortunately my company uses named user licensing and when I start LV as my admin user, I can't get a license. Oof... https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DqWxCAK&l=en-US Edited July 30 by Phillip Brooks 1 1 Quote Link to comment
Popular Post hooovahh Posted August 5 Popular Post Report Share Posted August 5 You guys are on point with the meme. So Snippets in general still work for me. I just tested one from NI's site and it was fine without needing to run as admin. That being said I know there were issues with LAVA and those might still exist. If I go to this NI post: https://forums.ni.com/t5/LabVIEW/Serial-port-number-savings-in-ini-file-executable-with/m-p/3957698#M1126478 There is a snippet. If I drag that pictures to LabVIEW it doesn't work. If I right click the image and choose open in new tab, then drag that image, it also doesn't work...BUT If I take the URL which was this: https://forums.ni.com/t5/image/serverpage/image-id/251299iAB15C965246CD61E/image-size/large?v=v2&px=999 and change it to this: https://forums.ni.com/t5/image/serverpage/image-id/251299iAB15C965246CD61E Then drag that to LabVIEW it does work. 3 Quote Link to comment
LogMAN Posted August 5 Report Share Posted August 5 50 minutes ago, hooovahh said: I just tested one from NI's site and it was fine without needing to run as admin. I believe you got it backwards. Run LabVIEW as admin and try to import a snippet. It's a no no... Run LabVIEW as normal user and snippets work just fine. 56 minutes ago, hooovahh said: If I take the URL which was this: https://forums.ni.com/t5/image/serverpage/image-id/251299iAB15C965246CD61E/image-size/large?v=v2&px=999 and change it to this: https://forums.ni.com/t5/image/serverpage/image-id/251299iAB15C965246CD61E Then drag that to LabVIEW it does work. That's a neat little trick, thanks for sharing! Quote Link to comment
Phillip Brooks Posted August 8 Author Report Share Posted August 8 (edited) So I followed the link, and noticed that the snippet image includes a small icon when I hover over it. Click on that and I get a pop-up of just the image I can drag/drop that on my block diagram! Some snippets must be older and not work directly. If you go to here: https://forums.ni.com/t5/LabVIEW/How-can-I-get-a-UTC-timestamp/m-p/4061558/highlight/true#M1165825 and drag/drop the 2019 snippet, it works directly. If you try to use the image below that (2016) it just gives you the link. If you click on the image (not the pop-out) you get what looks like the pop-out but can't drag/drop that. Use the pop-out arrow of the 2016 snippet and you can drag/drop that. I imagine there is an NI thread somewhere that documents this, but at thins point I feel like I'm debugging a Python module compatability problem. Edited August 8 by Phillip Brooks 1 Quote Link to comment
Phillip Brooks Posted August 8 Author Report Share Posted August 8 (edited) I remember something about a snippet storing the vi infon using image metadata and that hosts/portals often will strip image metadata because it is a vector for inserting viruses. LAVA seems to strip the metadata Edited August 8 by Phillip Brooks Quote Link to comment
LogMAN Posted August 8 Report Share Posted August 8 (edited) 1 hour ago, Phillip Brooks said: Click on that and I get a pop-up of just the image I actually never bothered to click on that and simply assumed that it does the same as selecting the image 😅 1 hour ago, Phillip Brooks said: LAVA seems to strip the metadata Yes, this has been known for a long time. You wouldn't believe who reported it first 😄 Edited August 8 by LogMAN 2 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.