ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(3,308 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
(3,307 Views)

Event structure cannot be used in my context.

 

0 Kudos
Message 3 of 6
(3,299 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
(3,293 Views)
Solution
Accepted by topic author 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
(3,291 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
(3,288 Views)