BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Rube Goldberg Code

5.1 had the do while true default. and yes I strongly suspect that this is "Legacy" code.  (Note the lack of VISA)  

 

Which brings up an interesting side discussion from yesterday's Developer Days panel.  

 

"I'm going to update some code to LabVIEW 2013,  What should I look out for with my 2009 source?"

 

The consencus seamed to be "No worries except expect the optomizer to come around and improve performance... but everything..... Re-Review everything!"  get rid of error 42, use Events.  Use IPEs sparingly, are those VITs you are launching? try an ACBR?  if you upgrade your code "Upgrade it!"

 

Further conversation revealed the "2009 source code" was old enough to get a drivers license!  


"Should be" isn't "Is" -Jay
Message 1471 of 2,635
(11,133 Views)

@JÞB wrote:

 

Further conversation revealed the "2009 source code" was old enough to get a drivers license!  


My very first VIs are that old. I don't know if I should laugh or cry. And yes, I'll vouch that do while true is at least V 5.1.

PaulG.
Retired
0 Kudos
Message 1472 of 2,635
(11,108 Views)

A simple task is to parse a 2D array of strings into date/time (first two colums) and data (third column or above) for display on an xy graph.

 

A recent such case came up here. array Indexing (5x), array size, initializie arrays (2x), shift registers (2x), insert into array (2x), etc. etc.

... or some simple stamp sized code. You pick! 🙂

 

Message 1473 of 2,635
(11,038 Views)

It's those complex numbers again!

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 1474 of 2,635
(10,964 Views)

Most beautiful Block Diagram which I have ever seen:

 

CalculatorHex-step1d.png

Acquired from this thread.

 

 

 

Message 1475 of 2,635
(10,954 Views)

Wow.

 

Looks like PCB tracking in places! 🙂

---
CLA
Message 1476 of 2,635
(10,997 Views)

@Andrey_Dmitriev wrote:

Most beautiful Block Diagram which I have ever seen:

  


I tried watching it run with highlight execution on. I thought it was going to crash my system. Smiley Surprised

PaulG.
Retired
0 Kudos
Message 1477 of 2,635
(10,957 Views)

I like it. it looks good. I only still have no idee what he is trying to do and what is problem is. ( exept to much time )


Learning LabVIEW since January 2013
0 Kudos
Message 1478 of 2,635
(10,941 Views)

@Andrey_Dmitriev wrote:

Most beautiful Block Diagram which I have ever seen:


Is this supposed to run on an FPGA?

 

So who can translate it into postage stamp sized code e.g. using boolean arrays instead?

0 Kudos
Message 1479 of 2,635
(10,896 Views)

Translate it? It's art!  The OCD parts of my brain are mesmerized.

 

Forget wether or not it works, the block diagram is a thing of beauty.  I think I will print it out and frame it.

I suppose it would be more impressive if it worked, but it seems wrong to mess with art.

 

 

PS. Style guides such as no data flow from right to left don't apply to art. Smiley Wink

 

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 1480 of 2,635
(10,866 Views)