BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Rube Goldberg Code


@LordNobady wrote:

i have seen a nice example on the idee exchange.
hire


Well, they did flat out say it was a Rube.  But the illustration required something simple.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 1331 of 2,560
(11,411 Views)

Sweet lords and demons!

http://forums.ni.com/t5/LabVIEW/built-it-for-me/td-p/2469268

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 1332 of 2,560
(11,308 Views)

@Yamaeda wrote:

Sweet lords and demons!


Wow!I think it is safe to say that the code could be rewritten so it fits on a postage stamp!

 

It currently has anything, including 14 tier Aztec pyramids, the opposite of boolean logic, and incredible duplication of operations. 😄 How many times do you possible need to take the same subset of the same string in parallel (see image), just to compare with a different string for each subset. (I wonder if the compiler can eliminate the common subexpressions here :o).

 

 

0 Kudos
Message 1333 of 2,560
(11,306 Views)

Yes, it also has Rubes in the form of 'x AND true-constant' and the works. It's actually impressive to get that many RGC's in one VI. 😄

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 1334 of 2,560
(11,298 Views)

I was looking at the code that yamaeda had mentioned.... and my 6 yr old son passes by me overlooking my shoulder and replied," wow! did you do that"? and I just chuckled Smiley Very Happy from the mouths of babes

  • wasn't this done before by another poster? I've seen this LV pyramid style architecture...dejavue

Example_VI_BD.png

Message 1335 of 2,560
(11,291 Views)

Long time listener, first time poster.

 

Entry level Rube, I guess, but it tickled me. Found here.

 

"I want to store lots of numbers using Write to Spreadsheet File. It takes 1D/2D arrays. Let's see... I'm going to bundle them together. No, wait - I don't need it in a bundle, I need an array! Let's unbundle them again and then build an array from the same inputs!"

 

eugh.png

---
CLA
Message 1336 of 2,560
(11,243 Views)

It seems to be the Rube Overlord. 😄

ruberuberube.png

 

This is a very confusing diagram, also. But that's not the point.

The "String which was read" was splitted using the Match Pattern Function, when the Split String.vi (advanced string functions) could easily do this job, which would save BD space and improve the program performance.
Anyone can spot something else?

This Rube was spotted here.

 

Also, I've attached the VI.

[EDIT: Well it seems that I cannot send the .VI. Please change the attachment extension from .txt to .VI.)

Regards

Mondoni
0 Kudos
Message 1337 of 2,560
(11,154 Views)

A proper Scan From String or Spreadsheet String To Array would make that so much easier.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 1338 of 2,560
(11,146 Views)

@joaopam wrote:

Anyone can spot something else?

 


 

Add Zero (sorry no pic)

0 Kudos
Message 1339 of 2,560
(11,136 Views)

paulmw escreveu:

Add Zero (sorry no pic)


Just realized this. I wonder what was the intention.

Regards

Mondoni
0 Kudos
Message 1340 of 2,560
(11,131 Views)