04-27-2007 05:15 AM
Solved! Go to Solution.
04-27-2007 07:49 AM
04-27-2007 07:54 AM
This is baffling.
You said "on my fairly new laptop ".
This reminds me of the issue there was with the original Pentium chips that would ocationally give bad results with floating point math under high loads.
If the laptop is still under warrenty, you may want to send it back.
Ben
04-27-2007 08:23 AM
@johnsold wrote:
Even ran it once with execution highlighting on (glad you did not use 10000 repetitions!).
I forgot to say that the delay had to be between ~5-20 ms to get this to happen properly. Even if this is reproducible, the needed number would probably vary, but execution highlighting would be too slow.
In any case, I doubt a Mac would be subject to this, because it seems to be more likely that this issue stems from the C run-time, from the OS, from the CPU or from some combination of those than from LV itself.
Thanks anyway.
Ben, I would probably need pretty compelling proof that the computer itself is to blame to get my money back, and since I can't even reproduce it on the same computer at the moment, that seems like a difficult path.
I will have to keep trying to reproduce this.
04-30-2007 12:33 AM
04-30-2007 01:34 AM
05-07-2007 08:54 AM
OK, two updates:
First, I ran the tool suggested by Alten in both modes it has and it didn't find any memory faults.
Second, I managed to reproduce this and had a chance to play around with it a bit.
I think the problem is a race condition somewhere, because this happened when I was running the same program which can get to be very memory intensive (I have 1 GB of RAM and when I ran it now I was down to about 50 free MB. This still persists after closing LV, which is why I'm thinking that the problem is potentially with the page file (which is at 1.13 GB at the moment).
I also don't think it's faulty memory because then I would expect the results to be random and inconsistent.
Here's what I tried currently:
What's shown in the screenshot is a slight modification of the example - a while loop with no wait was added around the entire code, the internal wait was changed to 1 ms, the chart counts the number of 102.9999... in each iteration and the priority of the VI was changed to Background. As you can see, on average, about 20-30 elements in each iteration (out of 200) are wrong.
05-07-2007 08:58 AM
05-16-2007 11:23 AM
05-16-2007 11:55 AM