BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Rube Goldberg Code


altenbach wrote:

How would the lame brute force code perform when implemented in G? 😄


Let's just say that the File I/O would no longer be the rate determining step.  Smiley Wink

0 Kudos
Message 1041 of 2,635
(10,732 Views)

No VI descriptions - marks deducted for CLD

Regards
Ray Farmer
0 Kudos
Message 1042 of 2,635
(10,694 Views)

@altenbach wrote:

@Darin.K wrote:
Maybe he means "real"programmers. Smiley Tongue

"Real" programmers use switches and patch cables.

 

 


Looks like my basement...

😉

0 Kudos
Message 1043 of 2,635
(10,694 Views)

one could kill for a basement that sizeSmiley Very Happy or even a basementSmiley Sad

Regards
Ray Farmer
0 Kudos
Message 1044 of 2,635
(10,680 Views)

At least they are looking at the help that ships with the system instead of posting something like "Help my lebview give error?" to the forums. I hope one of them is reading the style guidelines. That is WAY too many wire bends.

 

[Edit: Why is that man on the right wearing a dress?]

=====================
LabVIEW 2012


0 Kudos
Message 1045 of 2,635
(10,677 Views)

@Steve Chandler wrote:

[Edit: Why is that man on the right wearing a dress?]


(J. Edgar Hoover...?)

 

Just kidding. There were quite a few women deeply involved in the design of the ENIAC.

 

 

Message 1046 of 2,635
(10,659 Views)

One could use a For Loop with autoindexing turned on.

 

Alternatively, let's use a while loop, but add a select statement with a First call primitive (since the shift register is uninitialized this almost makes it act like it was initialized).  But incrementing the shift register isn't enought, let's feed it through the Quotient & Remainder function.  Seen here.

 

 

 

0 Kudos
Message 1047 of 2,635
(10,570 Views)

@Ravens Fan wrote:

One could use a For Loop with autoindexing turned on.

 

Alternatively, let's use a while loop, but add a select statement with a First call primitive (since the shift register is uninitialized this almost makes it act like it was initialized).  But incrementing the shift register isn't enought, let's feed it through the Quotient & Remainder function.  Seen here.

 

 

 


 

"What was the developer thinking?" is my first reaction.

 

Wouldn't a "delete from array" and use the deleted value do the smae thing?

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 1048 of 2,635
(10,537 Views)

I just realized that path to string is polymorphic, so a loop isn't needed at all.

 

0 Kudos
Message 1049 of 2,635
(10,528 Views)

Maybe the CLD exam or CLA exam should include a section on how to interpret heavily Rubed code...

After all, if you're a consultant/contractor, that's what you often see out there..

Message 1050 of 2,635
(10,522 Views)