06-16-2013 05:39 AM
please help - it seems to be bug in labview.
i have a non reentrant vi with debuggin enable.
i have a problem to debug several wires - when i put probe on them - the probe window show "not executed" although i am sure
they are running because they are updating indicators.
i don't know if it's related - but this happens only in my rs232 instrument data communication loops.
all other loops in the VI (which is a very big VI with many other loops running simultanesly) can be debuged with no problem.
don't tell me to put the code 'cause i can't.
thanks for your time
guy
Solved! Go to Solution.
06-16-2013 06:03 AM
Did you put a breakpoint on any of these wires to verify that the code snippet actually executes and the execution stops at the breakpoint?
06-16-2013 07:51 AM
Did you disable debugging in the VI? I doubt that is your problem. You might want to run with highlight execution on to make sure that portion of your code is running.
06-16-2013 08:13 AM
Are the updating indicators inside the loop or after the loop?
Is it a FOR loop or a WHILE loop?
Is it a parallel FOR loop?
Is it a FOR loop that executes 0 iterations?
Can you show us your code?
06-16-2013 08:38 AM
@hookso wrote:
please help - it seems to be bug in labview.
i have a non reentrant vi with debuggin enable.
i have a problem to debug several wires - when i put probe on them - the probe window show "not executed" although i am sure
they are running because they are updating indicators.
i don't know if it's related - but this happens only in my rs232 instrument data communication loops.
all other loops in the VI (which is a very big VI with many other loops running simultanesly) can be debuged with no problem.
don't tell me to put the code 'cause i can't.
thanks for your time
guy
If you can't post the code, are you able to at least post a snapshot of the section of vi that you're having this problem along with the probe window? (Like in this post)
-DP
06-16-2013 11:48 AM
OK
After several hours of investigating, i have managed to isolate the problem.
i think it is a bug in labview 2012.
i don't know why, but it seems that a feeback node (with initializer outside the loop- not z transform feedback node) inside my while loop caused the problem.
after deleting it - problem finally disappeared.
it's wierd because i have other loops that has the exact feedback nodes with no problem.
I hope this will help others
greetings
06-16-2013 11:55 AM
If you can make a small demo program that demonstrates the problem, please make a bug report with NI.
06-16-2013 11:57 AM
i will work on it.
06-16-2013
12:28 PM
- last edited on
05-05-2025
05:50 PM
by
Content Cleaner
03-10-2014 01:28 PM
I encountered the same bug with not updating probes when a Feedback node with Initializer moved to the While Loop is inside a disabled Disable Structure.
I don't know if you Altenbach got the code in the meanwhile and whether you're still interested in it more than a half year later. But here a picture of the code and the code itself attached. On the printscreens you can see, that mysteriously the probes of the Time Event node wires are updated, but the other wires not.
The code is in LV2012 SP1, I didn't check yet in other versions.