From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-07-2017 07:17 AM
Not really sure if this is a Rube or not - not really sure what this is:
Found this in a driver module for an Elprotronic chip driver "Oscillator.vi".
Kudos to:
1) Whoever managed to write this and deploy it - How did they create a while loop with no wired conditional terminal. This is an infinite loop.
2) NI for such an amazing "feature" in the timed loop!
Can anyone explain why this "works"?
James
06-07-2017 07:46 AM
You have a "Timed Loop" structure:
"Unlike the While Loop, the Timed Loop does not require wiring to the stop terminal. If you do not wire anything to the stop terminal, the loop will run interminably."
Refer to the Timed Loop (FPGA Module) topic for more information about using and configuring the Timed Loop in FPGA Vis."
"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books
06-07-2017 09:27 AM
I imagine that somewhere else in that driver you will find something like this:
Yeah, timed loops can be stopped remotely
06-07-2017 09:37 AM
@JÞB wrote:
I imagine that somewhere else in that driver you will find something like this:
Yeah, timed loops can be stopped remotely
Holy obfuscation batman!
06-07-2017 09:37 AM
@JÞB wrote:
I imagine that somewhere else in that driver you will find something like this:
Yeah, timed loops can be stopped remotely
They might know about this feature but they also didn't explicitly wire a structure name and kept the default name of "L198724412" so I bet there is a good chance it's just an infinite loop.
06-20-2017 08:18 AM
Simple question.
In the time it took for me work work out my reply (msg 3) I was beaten by msg 2!
I would like to take loads of credit for ofuconfususication - or whatever the long word is you keep using!
James
06-20-2017 09:44 AM
@James_W wrote:
Simple question.
In the time it took for me work work out my reply (msg 3) I was beaten by msg 2!
I would like to take loads of credit for ofuconfususication - or whatever the long word is you keep using!
James
06-20-2017 09:49 AM
@JÞB wrote:
yup that's the one Jeff
Obvious-flipping-confusin-ion
06-20-2017 10:23 AM
Or more appropriately. Obfuscation (software), except that many examples of this thread are not deliberate. 😄
06-28-2017 10:48 AM - edited 07-01-2017 11:33 AM
We've seen the "Equal TRUE logic" over and over here, so for a change in scenery, let's try a "Not equal FALSE" 😮 There are many ways to write Rube Goldberg code!