LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional Error Probe not working as expected

Solved!
Go to solution

I'm having an issue in LabVIEW 2018 where I configure the conditional error probe to pause on an error and it pauses but allows code to execute that shouldn't execute first. Please see the attached screen recording and attached VIs. This other thread sounds like it's related but there was never enough information there to figure it out. https://forums.ni.com/t5/LabVIEW/Conditional-Error-probe/m-p/3242303

Download All
0 Kudos
Message 1 of 6
(2,964 Views)

Hello JonathanLindsey,

 

It looks like the top error wire in your Reciever.vi is always finding an error while the error wire you are probing is rarely receiving an error. I would put your custom probe on the top error wire instead when I did this it would pause before continuing. 

Marina B.
Technical Support Engineer
National Instruments
www.ni.com/support
0 Kudos
Message 2 of 6
(2,915 Views)

I know what that VI is doing. I believe I have described a bug in LabVIEW 2018. I suppose I could work around the bug by unbundling the cluseter and using a simple conditional boolean probe to pause the VI at the right time (like the other thread concluded with) or possibly I could make a custom probe to pause the VI at the right time but would it be possible for NI to fix this bug in a future release of LabVIEW?

0 Kudos
Message 3 of 6
(2,912 Views)

Can you show this bug in a distilled form?  i.e., A while loop with nothing more than an error ring attached to the probe and an indicator attached to the iteration to prove it's still running?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 6
(2,897 Views)

I believe the bug is that the boolean indicator shows True when the bottom error value shouldn't have propagated. Theoretically, the breakpoint should have stopped the error from hitting the And block, which should have stopped the error indicator wire from being lit up. It took me a couple watches in the video to see what you meant, but this does look like a bug.

 

Shouldn't the conditional breakpoint halt the dataflow of the error wire, resulting in the And not being evaluated? Notice in OP's video at about 37 seconds  that the "result" indicator lights up just before the conditional probe trips.

 

By the way, I ran your code on my end and I'm seeing the same behavior (LV2018 as well)

0 Kudos
Message 5 of 6
(2,891 Views)
Solution
Accepted by topic author JonathanLindsey

I contacted NI aplication engineering. They confirmed this is a LV bug and created CAR number 728937.

0 Kudos
Message 6 of 6
(2,856 Views)