From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Feedback note - what's wrong?

Solved!
Go to solution

I tried to write a VI such that everytime when the OK button is pressed, the numeric indicator will increment one.

But it doesn't work as expected.

I am using feedback node method.

Please help.

0 Kudos
Message 1 of 6
(2,550 Views)

Why not use an event structure instead?

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.
Message 2 of 6
(2,549 Views)

Event structure cannot be used in my context.

 

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

So, you're saying you are being forced to do it this way?  Like, as an example, for an assignment?

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,535 Views)
Solution
Accepted by splee

it seems you are using "continuous run" mode, which reinitializes yor feedbanck node wkth every auto-restart. place a while loop with a delay around your code and use the regular run button.

Message 5 of 6
(2,533 Views)

It get reinitialize every time you press ok so you will always get the same value at the output.

 

Ben64

 

too late, Altenbach already responded!

Message 6 of 6
(2,530 Views)