07-19-2013 04:24 PM - edited 07-19-2013 04:26 PM
The consesus seems to be that if code does not work right, the only solution is to throw even more code at it. 😄
So if a shift register does not work as expected, maybe we can add a few more N=1 FOR loops so we can pipe the data through more shift registers. The idea probably is that asymptotically the code will work perfectly after we repeat that for an infinite number of times. 😄

07-20-2013 01:29 PM - edited 07-20-2013 01:29 PM
Changing the color of a scatter plot (seen here) to a single color can be extremely complicated and require sequence frames unbundling and bundling of unchanged elements, making a custom ramp with all the same colors and three property nodes.

Or it could be done with two property nodes and 10% of the code.

07-22-2013 07:11 PM - edited 07-22-2013 07:11 PM
Creating a simple 2D image apparently needs 4 FOR loops, many identical diagram constants and a couple of DBL arrays, if all we really need is a final U8 array to convert to a picture. The insert shows basically the same code (the scaling is slightly modified, but that's irrelevant).

07-31-2013 11:31 PM
Instead of using a boolean to drive a case structure, let's convert the boolean to the string values of "True" and "False" and use the string value to drive a case structure.
Seen here.
(I'd attach the screen shot as a file and embed it, but apparently .pngs are still busted as "The contents of the attachment doesn't match its file type" when I try to upload it.)
08-01-2013 03:07 AM
Maybe they want a True, False and a "Don't really know" option?
08-01-2013 09:41 AM
A particular favorite of mine that I came across last year was this:
08-11-2013 10:54 PM - edited 08-11-2013 11:07 PM
Having just sat the CLD exam (after years of procrastinating) I can tell you that NI has put together some very nice exam preparation material to help you pass.
I highly recommend going through it thoroughly... except maybe ignore these bits:
CLD 4 Event Structure Timer Solution.vi
Classic Rube / Wire Equivalent Code
CLD 16 Add process.vi
Constant Equivalent Code? T=0 F=0
Hmmm, maybe I should wait until I get my results back before I point this out?
There's probably more rube in my 1 exam submission than in all the preparation material.
08-12-2013 02:29 PM
08-13-2013 04:55 AM
You might have been their inspiration 😉
08-13-2013 05:24 AM
@TroyK wrote:
CLD 16 Add process.vi
Constant Equivalent Code? T=0 F=0
It's a Bool-to-Int on Line Two. 🙂
/Y