LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Indicators don't get updated on the FP but looks ok on the probe

I'm trying to show the path I created but it doesn't show up until I hit stop. To prove that my path isn't empty I added a length indicator and I can probe that wire and it looks fine but that indicator doesn't show up either

front panel delayed update issue.png

0 Kudos
Message 1 of 5
(1,026 Views)

funny ... it has something to do with the feedback node. Also the diagram disable structure seems to be involved.

Looks like that some kind of optimization caused the issue. Remove the feedback node or remove the wire from the feedback node to the diagram disable structure or user a property node instead of the path terminal ... (there are several other possible solutions, but not everything is working).

 

0 Kudos
Message 2 of 5
(966 Views)

I agree that this is a bug, probably caused by some compiler optimization.

 

I can fully reproduce it even in LabVIEW 2022 Q3 and have posted a note in the 2023 annual bug thread.

0 Kudos
Message 3 of 5
(940 Views)

@altenbach wrote:

I agree that this is a bug, probably caused by some compiler optimization.

 

I can fully reproduce it even in LabVIEW 2022 Q3 and have posted a note in the 2023 annual bug thread.


It was definitely a headscratcher for me.  I couldn't come up with something even remotely reasonable as an explanation.

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 5
(914 Views)

Here's a smaller (😟) example:

Indicator not updating 5.png

 

Execution highlighting doesn't fix this, making me think the compiled code is off.

 

I guess I have to wrap all feedback nodes I ever used (well, in UIs):

Indicator not updating 6.png

Message 5 of 5
(876 Views)