BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Rube Goldberg Code


@broken Arrow wrote:

smercurio_fc wrote:

But don't you run the risk of creating ground loops?


Did you even bother to read the manual? Ground Loops are the loops placed toward the bottom of the wiring diagram.
For my next Micro-Nugget, I'll be discussing using multiple Not gates in parallel to boost power in Boolean wires.

 


This(ground loops) is prevented by checking the option to "automatically insert feedback nodes in cycles"....  silly knight! Smiley Very Happy


"Should be" isn't "Is" -Jay
0 Kudos
Message 1001 of 2,635
(11,497 Views)

I thought zero times zero was zero (except for cases where it is a infinitely small non-zero number).

 

 Well...maybe the RG was to make sure that it was...

 

0 Kudos
Message 1002 of 2,635
(11,470 Views)

Been cleaning up RG's for over a month.  I'd probably post an extra 1000 if they all made it to this thread...

 

Here is a potential Rube... There must be a better way to implement this...  Right??

 

 

Message 1003 of 2,635
(11,466 Views)

@Ray.R wrote:

Been cleaning up RG's for over a month.  I'd probably post an extra 1000 if they all made it to this thread...

 

Here is a potential Rube... There must be a better way to implement this...  Right??

 

 


WHAT no magenta!  try a ring.  (that is not a proposal.  just an expression of my affection)

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 1004 of 2,635
(11,462 Views)

@Ray.R wrote:

 

There must be a better way to implement this...  Right??

 

 


If there is some logic for generating the values then maybe yes, but otherwise, I would say that this is a perfectly logical place to use such a constant - you generate it once and you're done with it. Of course, you don't need to show all of it. It could simply have a scroll bar.


___________________
Try to take over the world!
0 Kudos
Message 1005 of 2,635
(11,460 Views)

Yes... Showing all the elements was done on purpose.  I was wondering if I had missed a property that would generate it automatically.  That's why I thought it was a potential RG.  After fixing so many RG's, my brain has difficulty processing what is and what isn't a RG.. 

 

No need for a scrollbar since showing the first element is sufficient.

 

Yikes...  I might be on my way to the Funny Farm..

0 Kudos
Message 1006 of 2,635
(11,458 Views)

twice in this month. Napoleon


"Should be" isn't "Is" -Jay
0 Kudos
Message 1007 of 2,635
(11,450 Views)

Here's the latest one I must finish tonight.  No documetation, no explanation..  Not sure it works...

 

Oh boy..  This makes me look forward to retirement..

 

These are two halves of the same vi which is too wide to post within reason..  I'm sure it's a RG.

I'll see what I can do..  😉

Download All
0 Kudos
Message 1008 of 2,635
(11,429 Views)

@Ray.R wrote:

I'm sure it's a RG.


I agree completely!

 

The first small loop is basically a padding "array subset". Since the input ("CSR Error 128x2") already has these dimensions so it is probably a NOOP. Impossible to tell.... The second loop is pure RG, basically looping over the two rows coming out of loop 1. The inner for loop creates an array of indices and two arrays of size N-1, one shifted by one, otherwise identical. After combining the outputs into a 2D array, we immediately tear it apart into the two rows we had a nanosecond earlier, doing some incomprehensible boolean voodoo, then finding the corresponding element where the boolean array is true for the first time using a while loop. I canont tell if the theoretical possiblity exists that these loops never stop. The second program is crazy from simply looking at a code image. How many instances of the same misrepresented diagram constant do we possibly need??

 

Since you are not sure if it works correctly and there is no documentation, I don't see how you can possibly verify correct operation? 😮

 

0 Kudos
Message 1009 of 2,635
(11,414 Views)

@altenbach wrote:
incomprehensible boolean voodoo
Hmm.. "boodoo". Sorry - it's early and the coffee is not done brewing.
=====================
LabVIEW 2012


0 Kudos
Message 1010 of 2,635
(11,392 Views)