LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Undo Button

Solved!
Go to solution

I am trying to create undo button with the same functionality of Undo action, but in my vi i dont know whre is the problem coming, i am using case structure and shift register to retain the previous values but the values from shoft registers are not passing properly.

 

Below i am attaching the vi

Download All
0 Kudos
Message 1 of 6
(4,269 Views)

Can you upload the VI in 2011 format. I will change there only

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 6
(4,264 Views)

Thanks Ranjeet_Singh for the reply,

 

Below i am attaching the vi in 2011 format

0 Kudos
Message 3 of 6
(4,261 Views)

Your loop spins millions of time per second and when you press undo, the history value has become equal to the string value because you cannot change the string this fast. You need to use an event structure. You also should use a local variable instead of a value property node. Less overhead.

 

See how far you get....

Message 4 of 6
(4,244 Views)
Solution
Accepted by topic author RChoudhary

Here is one possibility.

Message 5 of 6
(4,241 Views)

Thanks altenbach for reply,

 

the vi is working fine for me.

0 Kudos
Message 6 of 6
(4,238 Views)