BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Rube Goldberg Code


@altenbach wrote:

Seems a bit much! I have the nagging feeling that it could be simplified. 😄

 


Most of the alternative solutions you guys provide make me feel stupid, i'd never thought of that.

0 Kudos
Message 2441 of 2,635
(3,622 Views)

@AeroSoul wrote:

@altenbach wrote:

Seems a bit much! I have the nagging feeling that it could be simplified. 😄

 


Most of the alternative solutions you guys provide make me feel stupid, i'd never thought of that.


I'm always pleased when someone shows me a better way to do something.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2442 of 2,635
(3,608 Views)

@paul_cardinale wrote:

I'm always pleased when someone shows me a better way to do something.


I am pleased to learn new stuff, but these kind of solutions seem so obvious in hindsight that it makes me feel dumb not to have though of them beforehand 😄

 

I have a folder with saved VIs with elegant solutions from this forum, which i may or may not need in the future 😄

Message 2443 of 2,635
(3,596 Views)

@AeroSoul wrote:


I am pleased to learn new stuff, but these kind of solutions seem so obvious in hindsight that it makes me feel dumb not to have though of them beforehand😄


This just comes with time and experience.  Altenbach is a master a math stuff (among other things) so he knows the places that math, and imaginary numbers work well.  Which is why I'm always impressed with him using nodes I've never once used in my 18 years of LabVIEW, to accomplish something.  If you ever do something that you think can be improved, post it on the forums.  I've done this a few times and gotten multiple alternative ways to do the same thing, picking the one that works the best.  I won't do this for every function I write, but I'll do some benchmarks and see what works well.

Message 2444 of 2,635
(3,583 Views)

@AeroSoul wrote:

I have a folder with saved VIs with elegant solutions from this forum, which i may or may not need in the future 😄


Would you care sharing that folder? I'm very curious and interested 🙂

0 Kudos
Message 2445 of 2,635
(3,572 Views)

@VinnyAstro wrote:

@AeroSoul wrote:

I have a folder with saved VIs with elegant solutions from this forum, which i may or may not need in the future 😄


Would you care sharing that folder? I'm very curious and interested 🙂


To get the full learning experience, start reading here, and stop when you're here.

Message 2446 of 2,635
(3,567 Views)

@altenbach wrote:

 

altenbach_0-1663865751116.png

 


On a side note, the shift register initialization (top) is actually incorrect unless we really (really!?) want to start with an extra point at (0,0) that has nothing to do with any measurement

 

If we want that extra point, the complex array constant (bottom) could contain an single element of 0+0i and we would resize the container to show two elements to indicate that fact!

0 Kudos
Message 2447 of 2,635
(3,550 Views)

wiebe@CARYA wrote:

 

To get the full learning experience, start reading here, and stop when you're here.

hahaha

I've been quietly following this thread since ~page 215 Still learning a lot, but a nice visual recap is always welcome 🙂

Message 2448 of 2,635
(3,549 Views)

To send 135 bytes to an instrument. Here's what somebody came up with. I doubt it could be made simpler... or could it? 😄

 

Seen here

 

 

bleite_2-1666880249538.png

 

0 Kudos
Message 2449 of 2,635
(3,316 Views)

@altenbach wrote:

To send 135 bytes to an instrument. Here's what somebody came up with. I doubt it could be made simpler... or could it? 😄


The compiler *should* constant fold that into a constant.  Though, that doesn't help the person who has to read that code.


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 2450 of 2,635
(3,277 Views)