03-13-2017 03:11 PM
So I noticed some odd behavior and am curious as to what is going on "under the hood". Obviously it doesn't impact my real code or anything, but I found it interesting.
I was playing around with a simple cDAQ output task and allowing it to time my loop (ignore the bad code, it was me just testing stuff). I wanted to see how stable it was, so I dropped a pt-by-pt histogram in to look at the delta T... it acted as expected
After running for a bit, the histogram looked about as would be expected
However, I later dropped a probe on the error wire and it greatly impacted the timing in the loop. Note that this doesn't happen if I probe any other wire - but reliably happens on error probe.
03-13-2017 03:30 PM
I'm assuming you are using recent LabVIEW version where Error Probes are conditional by default.
Does this occur if you:
???
Alternately, can you duplicate by
???
03-13-2017 03:38 PM
Ah! You are correct sir. The first (Custom probe -> controls) does not duplicate. The second (conditional) does which means it is the overhead of the conditional probe.
I also will admit... I never noticed that error probes were conditional by default. That will be useful. Thanks 🙂
03-13-2017 04:07 PM
@BowenM wrote:
Ah! You are correct sir. The first (Custom probe -> controls) does not duplicate. The second (conditional) does which means it is the overhead of the conditional probe.
I also will admit... I never noticed that error probes were conditional by default. That will be useful. Thanks 🙂
Thanks for doing the legwork! please post a simplified version that demonstrates the behavior and steps to reproduce.
Why? Although I expected the conditional probes to add overhead, I would have thought the overhead would still be consistent ( your example suggests that it is not) So, you may have uncovered a bug.
Not really a hugely important bug but perhaps one that should be known to increase the understanding of the IDE.
"NOT Important you say", Why? Well, it only effects the IDE and not any deployed code and then only when debugging.
Therefore <Sticking tongue firmly in cheek>
It seems silly to ask for R&D time for "Debugging a debugging bug when the bug is automatically disabled by disabling debugging especially when disabling debugging is automatic by default"
03-13-2017 04:30 PM