LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Undo/Redo feature in LabWindows CVI 7.0

Solved!
Go to solution
Is it possible to implement Undo/Redo feature in LabWindows CVI 7.0 application.
 
Thanks in Advance,
SKS.
0 Kudos
Message 1 of 2
(2,820 Views)
Solution
Accepted by SKS

SKS,

The wording was a little vague, but since LabWindows/CVI has both Undo & Redo functions in the environment, I presume you mean putting custom Undo & Redo buttons in your program.  There are many ways you can do this and it will all depend on what type of program you are writing.  The basic principle is that you will need to keep track of your edits in memory and then recall the old data if necessary.  There is no set method or functions to do this, it will be all user defined depending on the application.  If you were just keeping track of edits on a numeric control this implementation could be as simple as a numeric array.

If you post some more information about this application it should make it easier to help come up with ain implementation.

John B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,776 Views)