LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

probe shows not executed on some wires !!!

Solved!
Go to solution

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

0 Kudos
Message 1 of 16
(5,689 Views)

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?

0 Kudos
Message 2 of 16
(5,684 Views)

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 16
(5,668 Views)

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?

0 Kudos
Message 4 of 16
(5,664 Views)

@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

--------------------------------------------------------

New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI


0 Kudos
Message 5 of 16
(5,651 Views)
Solution
Accepted by topic author hookso

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

0 Kudos
Message 6 of 16
(5,629 Views)

If you can make a small demo program that demonstrates the problem, please make a bug report with NI.

0 Kudos
Message 7 of 16
(5,623 Views)

i will work on it.

0 Kudos
Message 8 of 16
(5,620 Views)
I really would like to see a picture of the code. I suspect that maybe the wire got constant folded or otherwise eliminated during compilation (e.g. loop invariant code motion).
0 Kudos
Message 9 of 16
(5,611 Views)

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.

 

Feedback Node in disabled Disable Structure Bug - Probe not updating.png

 

Feedback Node in disabled Disable Structure Bug - Block Diagram.png

0 Kudos
Message 10 of 16
(5,445 Views)