BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Rube Goldberg Code

Umh, I think this thread has lost the plot.  It started out as Rube Goldberg Code, then for some reason changed the Scary Code

 

but now it just seems to be someone personnal labview development thread.

 

It needs to get back to it's original purpose.

 

 

 

Regards
Ray Farmer
Message 851 of 2,635
(12,997 Views)

With  852 posts so far, there is going to be a little chatter once in a while. 😄

0 Kudos
Message 852 of 2,635
(12,995 Views)

Ray, with 850+ posts it has turned into its own Rube Goldberg!

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



Message 853 of 2,635
(12,974 Views)

Back on topic!

Message 854 of 2,635
(12,948 Views)

 


@Ray.R wrote:

Back on topic!


 

OK, back to rube goldberg code. I don't fully guarantee that the functionality is exactly the same between all code versions quoted below, but I think it is. Also the baseline code by AQ is not really Rube Goldberg, because it was fully legitimate before the introduction of the globally initialized feedback node.

 

OK, so here we go. The question is to make a simple action engine that toggles (or not) a privately held boolean depending on the boolean input.

 

Here's the original AQ version (posted here😞

 

 

Here's my first draft. Still way too complicated:

 

 

Here's what I came up with after some more thinking (the XOR could be replaced with a "not equal", same difference. Somehow, the XOR just looks soo much smarter. ;)):

 

Download All
Message 855 of 2,635
(12,938 Views)

A true Rube Goldberg without the use of Local Variables:

 

http://www.youtube.com/watch?v=plaOoO8UKGs&feature=player_embedded

 

 

Message 856 of 2,635
(12,845 Views)

someone want to create radio button.

 

http://forums.ni.com/t5/forums/replypage/board-id/BreakPoint/message-id/15108

 

 radio button.jpg

陈树学
QQ:276509891 .
EMAIL:CSXCS_366@126.COM
qq群:78561268 80754347 37591940
http://labview.weebly.com/
新书《LabVIEW实用工具详解》已经发售,敬请关注。
Message 857 of 2,635
(12,728 Views)

as someone suggested , changed his diagram like follows

 

http://vihome.com.cn/bbs/forum.php?mod=viewthread&tid=25271&extra=page%3D1&page=2

 

 radio button2.jpg

陈树学
QQ:276509891 .
EMAIL:CSXCS_366@126.COM
qq群:78561268 80754347 37591940
http://labview.weebly.com/
新书《LabVIEW实用工具详解》已经发售,敬请关注。
Message 858 of 2,635
(12,729 Views)

These are some very weird radiobutton codes. (I can't see any pictures on the chinese board you quoted).

0 Kudos
Message 859 of 2,635
(12,724 Views)

@csxcs_366 wrote:

as someone suggested , changed his diagram like follows

 

http://vihome.com.cn/bbs/forum.php?mod=viewthread&tid=25271&extra=page%3D1&page=2

 

 


This begs the question, why doesn't he just put a radio button that ships with LabVIEW on the panel, right-click it and choose Add Radio Button? Why is there even a cluster there?

Ah after looking at it again, I guess he wants multiple selections. Well, then it's no longer a radio button Smiley Wink in the traditional sense. Right, right, back on topic...

Message 860 of 2,635
(12,633 Views)