Jump to content

PaulG.

Members
  • Posts

    822
  • Joined

  • Last visited

  • Days Won

    22

Posts posted by PaulG.

  1. We should come up with our own "Most Dangerous LabVIEW Programming Mistakes". I would add: Failing to properly close references, using stacked sequences, using globals, messing with a fellow team member's code without permission ...

  2. QUOTE (crelf @ Dec 7 2008, 06:37 PM)

    :!: This topic looks to be shaping up to be a possible hot-button topic. With that in mind, I wanted to remind everyone that if you find a post and/or thread inappropriate, our Forum Guidelines call for you to report it to the administrator or a moderator by clicking on the "! REPORT" button next to the post that you find questionable. Replying such directly in the thread is against our Forum Guidelines, and is grounds for temporary account suspension.

    Done. Alpha is bad enough. :throwpc:

  3. Lately I've been doing a some equipment safety check coding. As long as there are operators there will be operator errors - and in our case a possible loss of an expensive UUT and wasted time and data if the operator makes a mistake. I'm sure there are dozens of ways to do it, and my application isn't that complicated, but in this situation comparisons and one button dialog error messages ("Error: test position already in use.") where the test software will not continue until the error is corrected seems to be working very well.

  4. QUOTE (km4hr @ Oct 17 2008, 10:22 AM)

    IP security is not my goal. I'm building a LabVIEW application that will be used by students at the university where I work as undergraduate lab manager.

    The students will take apart (ie break) any LabVIEW application I create if it's easy to do so. I just want to reduce the chaos by making it a little harder for students to modify my work.

    jgcode,

    Thanks for your support. I've used enough forums to realize that there will always be a few paulg's around. It's no big deal. The vast majority of LAVA posters are very generous with their knowledge.

    thanks again,

    km4hr

    I screwed up. Big time. I won't apologize for what I said, but all of you could have done without my sarcasm and the ugly way I said it. I was tired and grumpy, but that is no excuse for the lack of respect I showed all of you, especially you, km4hr. For that I sincerely apologize for the way I said it and ask for yours and everyone else's forgiveness.

    What I meant to say:

    Password-locked LV code is real pet peeve of mine. Unless you intend to sell your source code as "intellectual property" passwords are almost always a very bad idea. The code you lock with a password invariably is the code someone else will inherit and maintain. Years ago I inherited a huge application where numerous, critical sub-VI's were password-protected. Just a few weeks ago I wanted to look at that code in my archives to help me with an issue I was dealing with at the time. Lo and behold I had forgotten the password. If you are concerned with someone messing around with your code you have far more serious issues in your working environment and a password would be nothing more than a Band-Aid. Regarding a thumb drive: everything I do I save to my thumb drive at the end of every single day. Its main purpose is to take my work home, but also, if someone changes my code I always have my version ready to replace it.

  5. QUOTE (km4hr @ Oct 15 2008, 10:44 PM)

    Aspiring labview programmer wants to know how to turn a completed VI into an application that can be run by others without leaving it wide open to modification. Is this possible? Is there an "execute-only" mode?

    km4hr

    ForCryinOutLoud! WTH are we doing here, guys? It's LabVIEW, not "labview". And if KM4HR wants to "protect" precious intellectual property ... :o ... just tell him/her to save their code onto their own personal thumbdrive.

    What are we doing here?? And why do I keep coming here?? :blink:

  6. Anything that allows us to make better looking front panels is a great idea. Working with control clusters is one of the least favorite parts of my job, simply because it is extremely difficult to get things sized and aligned properly. It has to be perfect. I have a lot of arrays of clusters and their sizes change during runtime. If everything isn't aligned and sized exactly right the FP looks like crap. And that is what the customer sees! I would think NI would realize this and work a little harder to give us the tools to make LV a little "sexier". Not all of our customers are engineers. ;)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.