Popular Post Sparkette Posted January 21, 2019 Popular Post Report Share Posted January 21, 2019 (edited) You know how you can change the wire appearance for a class in the class properties? As it turns out, LabVIEW internally allows for more flexibility than that dialog gives you. So I made an advanced wire editing tool...and unlike a lot of stuff I post, you can actually use this for serious projects, because it does not use any private/unsupported LabVIEW functionality! With this tool, you can set wire size without limits (with results similar to this), customize both wire layers with any 8x8 monochrome pattern, and also mess with different draw options. Strangely, a few of these settings seem to have no effect, and many of the options for one of them actually crash LabVIEW. (These ones are disabled in my tool, but you can re-enable them by editing a typedef.) Given that this is actually a documented, supported property that's officially supposed to work, I've reported this as a bug to NI; if any NI engineers see this and feel like investigating, you can refer to service request #7762024. Latest version: Wire Studio 2.zip Old versions: Revision 1 Edited February 11, 2019 by flarn2006 New version 8 3 Quote Link to comment
Rolf Kalbermatter Posted January 22, 2019 Report Share Posted January 22, 2019 Very nice tool. I don't generally customize wires but this looks like a fun project. 😃 Quote Link to comment
hooovahh Posted January 23, 2019 Report Share Posted January 23, 2019 I usually spend a minute or two on the look of my wire but just so it doesn't look like all the other ones. This tool could be handy in making sure they look unique. Does a randomize button make sense? Or does random patterns just look like garbage? The NI GOOP Development toolkit has a random button for wire appearance, and icon appearance. A lot of time I will click the random button until something is close to what I want, and then I'll adjust things a bit more. It might be a good idea to have something similar in this. Actually it might be even better if this were added to that toolkit... Quote Link to comment
Sparkette Posted January 23, 2019 Author Report Share Posted January 23, 2019 (edited) I could try and see how well that works. Also, NI got back to me; they said they were able to confirm the issue I mentioned and they've filed an internal bug report. (Btw hooovahh, the second quote in your signature is not entirely accurate 😛) Edited January 23, 2019 by flarn2006 Quote Link to comment
hooovahh Posted January 23, 2019 Report Share Posted January 23, 2019 1 hour ago, flarn2006 said: (Btw hooovahh, the second quote in your signature is not entirely accurate 😛) It should say "with locked diagrams you can't fix the problem without potentially breaking licensing, violating IP, or violating ethics". Yes that site, along with the method of signing VIs is semi-known. Quote Link to comment
Sparkette Posted January 23, 2019 Author Report Share Posted January 23, 2019 (edited) 21 hours ago, hooovahh said: It should say "with locked diagrams you can't fix the problem without potentially breaking licensing, violating IP, or violating ethics". Yes that site, along with the method of signing VIs is semi-known. Well that last one depends on your personal ethics on the matter, but I guess you did say "potentially" so you aren't wrong. That's a bit too off-topic to discuss much further here though; I was just making a joke Edited January 24, 2019 by flarn2006 Quote Link to comment
ShaunR Posted January 24, 2019 Report Share Posted January 24, 2019 21 hours ago, flarn2006 said: Well that last one depends on your personal ethics on the matter, but I guess you did say "potentially" so you aren't wrong. That's a bit too off-topic to discuss much further here though; I was just making a joke So..... What licence is it? Quote Link to comment
Sparkette Posted January 24, 2019 Author Report Share Posted January 24, 2019 (edited) 1 hour ago, ShaunR said: So..... What licence is it? I never thought to add a license to it; as you probably guessed it's not really something that readily crosses my mind. 😛 I don't really care what you do with it; I guess I'll put it under the MIT license or something in the next revision. Edited January 24, 2019 by flarn2006 I guess that's pretty obvious :p Quote Link to comment
hooovahh Posted January 24, 2019 Report Share Posted January 24, 2019 You're welcome to use whatever license you want, but for LabVIEW we see lots of people use BSD for the kind of "I don't really care, just have this and I'm not responsible, and leave any attributes I have in the source" kind of thing. Obviously that is oversimplifying it. Here is a thread on LAVA. Quote Link to comment
MikaelH Posted January 24, 2019 Report Share Posted January 24, 2019 Why not merge it into OpenGDS's wire editor and create a Pull request. Quote Link to comment
jacobson Posted January 24, 2019 Report Share Posted January 24, 2019 3 hours ago, flarn2006 said: I never thought to add a license to it; as you probably guessed it's not really something that readily crosses my mind. 😛 I don't really care what you do with it; I guess I'll put it under the MIT license or something in the next revision. This may be a misunderstanding from my end but I thought if you did not include any license then your code defaults to "not really open source". I'm not a lawyer but choosealicense.com/no-permission/ is where I was reading that and I have used the site before to get the TL;DR for licensing. Quote Link to comment
ShaunR Posted January 24, 2019 Report Share Posted January 24, 2019 3 hours ago, flarn2006 said: I never thought to add a license to it; as you probably guessed it's not really something that readily crosses my mind. 😛 I don't really care what you do with it; I guess I'll put it under the MIT license or something in the next revision. MIT is a good permissive licence. Unless you categorically state otherwise, LavaG.org cannot technically even distribute it to us which, I expect, would not be the intent. It's a minefield and just choosing one, regardless of what it is, saves so many headaches for your intended users and for LavaG.org. Quote Link to comment
Rolf Kalbermatter Posted January 24, 2019 Report Share Posted January 24, 2019 (edited) 19 minutes ago, jacobson said: This may be a misunderstanding from my end but I thought if you did not include any license then your code defaults to "not really open source". I'm not a lawyer but choosealicense.com/no-permission/ is where I was reading that and I have used the site before to get the TL;DR for licensing. Legally that is indeed how it works, unless you live in a banana republic maybe 😃 Copyright is gained automatically when a work is created. At least in the US, works first published after March 1, 1989 need not include a copyright notice to gain protection under the law. It legally prevents anyone from copying it, unless it is accompagnied by a license that specifically allows that. Edited January 25, 2019 by Rolf Kalbermatter Quote Link to comment
ShaunR Posted January 25, 2019 Report Share Posted January 25, 2019 34 minutes ago, jacobson said: This may be a misunderstanding from my end but I thought if you did not include any license then your code defaults to "not really open source". I'm not a lawyer but choosealicense.com/no-permission/ is where I was reading that and I have used the site before to get the TL;DR for licensing. The technical term is "All Rights Reserved" and grants no rights to anyone apart from the original author. The important part here is "Rights" which has nothing to do with software, per se. The definition of "Open Source" is a bit nebulous depending on who you ask (OSI is different from FSF, the latter of which is more of an ethos). I err on the side of caution and choose to interpret it to mean "source distribution" and completely separate that term from licencing-I know where I stand then. So you can call your software, Open Source, Free Open Source, Freeware, Nice-bloke-give-a-lot. I don't care. I only need to know Does it come with viewable source code? (not a deal-breaker if it doesn't) What licence is it? (won't touch it without one) Quote Link to comment
smithd Posted January 25, 2019 Report Share Posted January 25, 2019 (edited) 5 hours ago, jacobson said: This may be a misunderstanding from my end but I thought if you did not include any license then your code defaults to "not really open source". I'm not a lawyer but choosealicense.com/no-permission/ is where I was reading that and I have used the site before to get the TL;DR for licensing. Its definitely open source, you just can't use it or copy it...and I imagine flarn could sue you if you release something kind of like his code and its discovered that you knew about this code. 5 hours ago, ShaunR said: MIT is a good permissive licence. Unless you categorically state otherwise, LavaG.org cannot technically even distribute it to us which, I expect, would not be the intent. It's a minefield and just choosing one, regardless of what it is, saves so many headaches for your intended users and for LavaG.org. In the US, I believe lava gets away with this because of safe harbor provisions in the otherwise frightening DMCA. Even without that, many forums have terms of use which generically cover these things. For example from ni.com: Quote User Contributions. Any information or material ("Communications") that you transmit to this Site is considered non-confidential. NI has no obligations with respect to the Communications, and NI is free and you authorize NI to copy, disclose, distribute, incorporate, translate and otherwise use the Communications and all related data, images, sound, and text for any and all purposes. NI reserves the right, in its sole discretion on a case by case basis, to remove, reject, or otherwise modify any such Communications or any portion(s) thereof. As I read that, it sounds like the site basically says ni can do anything it wants with anything you upload, including distribution and copying. Other parts of the terms of use also make it clear that just because NI has that right, doesn't mean the original uploaded conferred that right to any downloaders, only to NI. So in other words (again, as I interpret this), uploading code means other people can download it, but they still cant use or distribute it without a license from the original uploader. Edited January 25, 2019 by smithd Quote Link to comment
Rolf Kalbermatter Posted January 25, 2019 Report Share Posted January 25, 2019 6 hours ago, smithd said: Its definitely open source, you just can't use it or copy it...and I imagine flarn could sue you if you release something kind of like his code and its discovered that you knew about this code. In the US, I believe lava gets away with this because of safe harbor provisions in the otherwise frightening DMCA. Even without that, many forums have terms of use which generically cover these things. For example from ni.com: As I read that, it sounds like the site basically says ni can do anything it wants with anything you upload, including distribution and copying. Other parts of the terms of use also make it clear that just because NI has that right, doesn't mean the original uploaded conferred that right to any downloaders, only to NI. So in other words (again, as I interpret this), uploading code means other people can download it, but they still cant use or distribute it without a license from the original uploader. That's pretty much how it all works. Of course that doesn''t mean that you can't bend the system if you have particularly deep pockets to buy the necessary lawyers to get a court ruling that may sound and feel like the opposite of this. Generally however the money involved is not high enough for such things. The only real problem if flarn would want to sue someone using that VI is of course to find out about the illegal use first and then to proof that that other person didn't invent it themselves independently of his posting. But that is an entirely different story. Having right doesn't always mean to get that right. Who knows, Oracle might buy his rights some day and then go and sue everybody. 😃 Quote Link to comment
smithd Posted January 26, 2019 Report Share Posted January 26, 2019 (edited) 15 hours ago, Rolf Kalbermatter said: Who knows, Oracle might buy his rights some day and then go and sue everybody. 😃 I think this important and descriptive org chart diagram is obligatory for any reference to oracle: Edited January 26, 2019 by smithd Quote Link to comment
Sparkette Posted January 29, 2019 Author Report Share Posted January 29, 2019 And yet all they're using is plain black lines connecting the nodes. In this thread? Really? 1 Quote Link to comment
Sparkette Posted February 11, 2019 Author Report Share Posted February 11, 2019 Bumping this thread because I've posted a new version; see the OP. Quote Link to comment
Taylorh140 Posted April 22, 2019 Report Share Posted April 22, 2019 Could you save for previous verison of LabVIEW, maybe I'm slow but I'm still back in 2017. 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.