11-30-2012 02:21 PM
@altenbach wrote:
Scary thing is that everything apparently worked before updating to 64bit windows .... These race conditions can lurk unseen.! 😞
Actually, the logic is there 4 or 5 ways to shut down the loops (That's what makes it so darned confusing) but those loop timers just leave everything to chance on when data gets to em
11-30-2012 02:29 PM
@altenbach wrote:
These race conditions can lurk unseen.! 😞
Yeah, I have a customer (used to be coworker) who just upgraded computers on an older test system. I thought for sure the race conditions in the main VI was going to bite them hard. Apparently they didn't upgrade enough.
11-30-2012 03:22 PM
After all that the problem moving from 32 bit to a 64 bit system was.....
12-01-2012 03:51 PM - edited 12-01-2012 03:52 PM
The start of an abuser, see here
Original code: Oh Boy... I forgot about the snippet creator... should have used code grabber..
Same without Locals
12-01-2012 04:36 PM
What is even crazier is how he keeps track of the maximum value:
As I wrote here:
You seem to want to keep track of the maximum value. Also here you are making huge mistakes. First you append the value to the front of an array (which is much less efficient than adding to the end of an array). Then you keep the array in an uninitialized shift register, meaning that you retain old data between runs. Then you are growing the array forever, (or until you run out of memory). All you need to keep is a scalar value containing the current max!
Here's my a quick alternative that only needs to keep 8 bytes in memory, as opposed to searching for array max in an evergrowing array.
01-12-2013 03:57 AM
There is a new idea out to make local variables "good again", whatever that means.
See for yourself and either vote or abstain 😄
I will abstain. 😉
01-31-2013 02:31 AM
Why do we get all these horrible suggestions here?
"Wire as many local variables to all the case outputs to as yopu wish to see it blink as the code executes."
"Create local variable for all & inside loop make it true & outside make it false"
(If the guy would post his actual code, we could turn it into a state machine without any local variables in a few minutes....)
01-31-2013 07:14 AM
For some reason I see the guy that posted the Variables Idea having this expression when he was informed about the Declined Status:
http://cdn.memegenerator.net/instances/400x/32647588.jpg
03-15-2013 08:20 AM
03-15-2013 09:11 AM
Maybe he loves floating items? 🙂
<40 posts to go for 10k heroism!
How long will it take?
A day or 2?