Message Edited by altenbach on 08-03-2006 08:10 AM
I'm not making this up...the following was in a VI I was doing a code review on several years ago:
You'll all be happy to know this person no longer works at NI.
Message Edited by Darren on 08-03-2006 01:03 PM
When I was "wee-G-Babe" I wanted to sort folders based their size.
I did not know about the "Cluster Sort" method so I coded up a variation on a bubble sort.
Greg McKaskle said he was stumped for a while but eventually figured it out.
This was one of the first "Bad" from the "Good the Bad and the Ugly" series.
Message Edited by Ben on 08-03-2006 01:47 PM
Message Edited by jasonhill on 08-04-2006 10:00 AM
I think I saw a variation of this in PRIME.vi posted yesterday. As a bonus, it also contains Darren's construct inside the case structure.
So how do we go about constructive criticism in these cases? I am sure a few nudges in the right direction can make a big difference. Still I am impressed that people with no obvious LabVIEW or general programming background can get a fully working program together.
Message Edited by TonP on 08-04-2006 09:36 PM
Message Edité par JeanPierre le 08-04-2006 07:04 PM
LabVIEW, C'est LabVIEW
Ok, this is too good to pass up. I do not mean to offend the original poster(s) but check out the following:
Among the 10 or so user-submitted examples in this category are two that are particularly noteworthy.
Before opening them, think about how you'd write a VI with this name... For me, I was thinking Array Size followed by Index Array if you wanted them as scalars. Both of the above VIs are equally effective, but I'm not sure that's how I'd teach someone to do it. Definitely not too efficient.
In this thread
I posted a method to copy the contents of a cluster to another cluster.
And here I was thinking that this code was supposed to copy an array of variants into the cluster...
In this thread I posted a method to copy the contents of a cluster to another cluster.