02-15-2016 10:06 PM
@User002 wrote:The problem with that code is the while loop is in the main vi and I think I want it in the sub vi
Is this still related to your earlier question about hiding code or a new topic?
If this is a new question, pleas start a new thread with a new suject line. Thanks.
02-15-2016 11:13 PM
@Hatef wrote:
use this method
after you make your subvi , go to icon editor and make all icons disable
now you can use this subvi inside your code it is invisible now but also try to wrap it behind the some vi or stick to some of vi
What does that even mean?
@Hatef wrote:
just copy and paste white image in diagram and hide that loop behind it insert some other vi code inside the loop for backtrack like timing vis
and if that person again find the subvi
he is cleaver and could write that vi his self and no need that vi 🙂
That really is a hack and I would never recommend to somone to do this.
And you don't have to be "cleaver (sic)" to uncover. All someone would have to do is accidentally click block diagram cleanup and Voila! there is the "hidden" code.
02-16-2016 12:08 AM
02-16-2016 12:21 AM
02-16-2016 12:34 AM
@Hatef wrote:
RavensFan
for first one there is file that I attach just check that
for second one
I am innocence 🙂
but I understand why this friend want such a thing
some time costumer do not want to pay and just want to steal the code
also you can make subvi with that method I mention and then use this method in code diagram but beyond the visible codes
You can't "disable" an icon. I did see your example. What you actually did was make your icon completely transparent.
What you proposed is not going to prevent a person who makes costumes for a living from stealing code. https://en.wikipedia.org/wiki/Costumer
02-16-2016 04:56 AM
@RavensFan wrote:
@Hatef wrote:
RavensFan
for first one there is file that I attach just check that
for second one
I am innocence 🙂
but I understand why this friend want such a thing
some time costumer do not want to pay and just want to steal the code
also you can make subvi with that method I mention and then use this method in code diagram but beyond the visible codesYou can't "disable" an icon. I did see your example. What you actually did was make your icon completely transparent.
What you proposed is not going to prevent a person who makes costumes for a living from stealing code. https://en.wikipedia.org/wiki/Costumer
first I m really, really so sorry to my grammar and spelling problems (https://en.wikipedia.org/wiki/Customer) thank you for your point and I will try work more on my English and will be thanks for your any help around it
about why we should do that, suppose somebody ask you to write a code for some reason and you do it
now he just told you that he should see the codes before pay, with this method you can show part of code in your computer without let him to see all algorithm for prevent him stole the code and say no it is what he want ?!
about your question to how make icon transparent bellow image show the way to do
after that even you could not select a subvi inside vi (maybe it is some kind of bug )
again sorry if I offend some body with my mistakes
best regard,
Hatef
02-16-2016 06:05 AM
If you show the code on your own computer to him and are worried that him seeing the diagram will allow him to steal the code, you either suspect a customer with super photographic memory or the code is so trivial that I would not even bother about him stealing it. If you give the code to him to view on his computer none of your trickery will prevent anyone but the most basic LabVIEW rookie from stealing your code anyhow.
02-16-2016 07:58 AM
@rolfk wrote:If you show the code on your own computer to him and are worried that him seeing the diagram will allow him to steal the code, you either suspect a customer with super photographic memory or the code is so trivial that I would not even bother about him stealing it. If you give the code to him to view on his computer none of your trickery will prevent anyone but the most basic LabVIEW rookie from stealing your code anyhow.
that is not true
at least in image processing you need just to know some vis inside the code to know witch algorithm and method are used
anyway I do not want to continue it more because I told before I am agree with altenbach
hiding code will not always keep you on top of some thing always
02-16-2016 10:15 AM - edited 02-16-2016 10:43 AM
Hatef wrote:
at least in image processing you need just to know some vis inside the code to know witch algorithm and method are used
If one recognizes an algorithm, it must be a well known algorithm, so hiding the code would not make a difference. The real coding secrets are in performance optimization such as inplaceness, parallelization, and other techiques, but they might not be obvious to the casual observer. I could show one of my advanced algorithmic subVIs and it would take days for domain expert to figure out how and why it works. (at least after I remove all diagram comments ;))
Hiding code has very limited use. For example in coding challenges it is important to keep the code secret from other contestants while still being able to benchmark it.
Any other use just plays into security by obscurity and is never a viable long term solution. All you can hope is that by the time things are discovered, they are already obsolete. Technology moves fast. 😄
In the typical case, nobody really cares about the code, secret or not. 😮 Maybe we should just start programming in APL instead.