04-07-2010 11:33 AM
And Jack wins a prize for code obfuscation
Maybe I'll wait for official support after all.... !
04-07-2010 09:41 PM - edited 04-07-2010 09:42 PM
I am going to link to an interesting VI here.
It isn't so much a Rube Goldberg, though there are a few Rube constructions like building an array of string constants rather than just creating a constant that is already a string array. The code is actually neatly laid out, but really just has a lot of wrong things going on it. It could also be a good nomination for the Local Variable thread. It uses stacked sequences. It uses a weird intermingling of single sequence frames, single iteration while loops, multiple iteration while loops, bits of data like a boolean whose only purpose is to link stuff together to have it operate in sequence, even if the two things that it is linking could be a single 2-frame flat sequence (or going the bad route of a stacked sequence which has been done numerous times.)
But just to give a taste, here is the beginning of the very linear program, and the comment that I thought was funny and fitting about the "penalty box". (Actually, the whole program looks like a linear sequence of penalty boxes.)
04-08-2010 09:02 AM
Ravens Fan wrote:I am going to link to an interesting VI here.
(Actually, the whole program looks like a linear sequence of penalty boxes.)
Message Edited by Ravens Fan on 04-07-2010 10:42 PM
Wheew!
That looks like it was developed by an "inside-the-box" thinker!
04-08-2010 09:53 AM
Here is one of my own dandies from here, where nathand set me straight. All of this
gets replaced by this
At least I recognized it as Rube when I posted for help...
04-08-2010 01:59 PM
04-12-2010 01:29 AM
04-14-2010 04:19 PM - edited 04-14-2010 04:19 PM
04-14-2010 04:37 PM - edited 04-14-2010 04:39 PM
Broken Arrow wrote:
04-14-2010 04:55 PM
altenbach wrote:I was just going to post that. A WEQ!You did not show the entire WEQ code. See what the output of the case structure is!
Yeah but I've seen that before. The ol' True if True and False it False statement.
04-17-2010 11:48 AM - edited 04-17-2010 11:51 AM
Sometimes it is difficult to understand why certain code is the way it is.
In this example, arrays are built for a lifetime of a few clock cycles, just to break them down again in the next primitive.
Look at the first row of the built 2D array, it is never even used! Why???