BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Rube Goldberg Code

http://forums.ni.com/t5/LabVIEW/How-to-sort-an-array-in-Even-and-odd-parts/td-p/2595717

Arrays mod.png

Says - there are thousands of ways to do it.

           He did it rubes waySmiley Wink

using locals is not crime -  yeah i have heard it

0 Kudos
Message 1391 of 2,635
(11,801 Views)

Well, at least if fits comfortably on a 640x480 screen. (and that's all we had back in the days!) 😄

 

 

 

(seen here)

Message 1392 of 2,635
(11,713 Views)

Found this rube goldberg topic.

Most of you may have seen this gem.

It can be found here

rude.png

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 1393 of 2,635
(11,520 Views)

@KoenR94 wrote:

Found this rube goldberg topic.

Most of you may have seen this gem.

It can be found here


Curiously, the discussion is titled "how to increase the memory of VI".

 

While most people try to reduce the memory footprint of a VI, this example seems to already do exactly the opposite, i.e. what he wants. 😄 So where is the problem?

0 Kudos
Message 1394 of 2,635
(11,487 Views)

@KoenR94 wrote:

Found this rube goldberg topic.

Most of you may have seen this gem.

It can be found here


It looks like it was generated with scripting by placing & wiring random nodes, although the Run arrow isn't broken.  It makes want to write a LabVIEW fractal generator...

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 1395 of 2,635
(11,463 Views)

interesting way to change the filename part of a long path (seen here).

 

 

 

(There is a path-to-string implied as first operation)

 

 

One better way (NeilR):

 

Message 1396 of 2,635
(11,232 Views)

Found here:http://forums.ni.com/t5/LabVIEW/Moving-live-data-from-inside-for-loop/m-p/2721769#U2721769

 

 

Build an array from 1 item and index it out.  We've seen that a million times.  What caught my funny bone is the fact that they are using a Quotient & Remainder to divide the FOR loop iteration count by 1 and taking the remainder.  So much work just to put a value in a chart.



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 1397 of 2,635
(11,112 Views)

crossrulz wrote: So much work just to put a value in a chart.

It is probably the classic:

 

"Hey I don't know LabVIEW but after trying random things seen elsewhere, this works, so I won't touch it and possible mess it up again" 😄

0 Kudos
Message 1398 of 2,635
(11,099 Views)

Adding a few sine waves apparently needs code the height of the empire state building (seen here).

 

Here's the navigation window (the white area is a typical screen size!)

 

 

Message 1399 of 2,635
(10,956 Views)

Two Index arrays, two subtractions, two squaring, addition, square root, etc. to get a distance between two point in 2D. (seen here).

 

Complex math IS simpler! 😄

 

 

Message 1400 of 2,635
(10,950 Views)