LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

You just have to laugh to keep from crying

Look what I stumbled across today.

 

========================
=== Engineer Ambiguously ===
========================
Message 1 of 7
(3,182 Views)

The more functions the better...

 

Even if you don't need them! 🙂

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 7
(3,168 Views)

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

Tim
GHSP
Message 3 of 7
(3,165 Views)

Reminds me of how I felt when I saw this from a coworker two days ago:

Coerce0-255.png

and this, from yesterday:

string to byte array the long way.png

Message 4 of 7
(3,152 Views)

@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.

Message 5 of 7
(3,127 Views)

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.

0 Kudos
Message 6 of 7
(3,034 Views)

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:

 

no_idea2.jpg

_____________________________

Message 7 of 7
(3,026 Views)