03-01-2012 03:06 PM
Look what I stumbled across today.
03-01-2012 03:11 PM
The more functions the better...
Even if you don't need them! 🙂
03-01-2012 03:12 PM
Those kind of things go here and you should also show the correct way to do it so that someone can learn.
http://forums.ni.com/t5/BreakPoint/Rube-Goldberg-Code/td-p/399999/page/55
03-01-2012 03:18 PM
03-01-2012 03:57 PM
@RTSLVU wrote:
Look what I stumbled across today.
You need to remember that back in the old days the Index Array was not resizable. Thus, the bundle/unbundle functions were often used in place of multiple Index Array functions to make a more compact diagram. Many programmers got into this "habit", and some who only used LabVIEW occasionally probably never bothered to check what changes occurred with new versions, and would not have known about the Index Array being resizable. I can tell you that there was a stretch of time where I did not use LabVIEW and jumped versions. Well, the resize capabilty of LabVIEW was introduced in one of those versions that I had skipped. So, for a short amount of time (a very short amount of time) I was still doing that out of habit.
03-05-2012 09:27 AM
Here's the worst I've ever seen. The output terminals inside the case structure are unused. It's hard to tell by looking, but the only thing all that code accomplishes is to multiply by 12.
03-05-2012 09:30 AM
I thought I was becoming more proficient in LabVIEW...until I came into this thread and didn't get why any of this was funny.
😞
Now this is me: