cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

Strange undo behavior

Check Tools->Options->Environment and make sure that Maximum Undo steps isn't accidently set to 1.
 
Edit:
Oops, just saw in the Opening post that you set it to 99.  Does it have the same effect when you set it to default or 10?  99 might be over a limit or something.


Message Edited by Mythilt on 08-05-2008 12:54 PM
Jon D
Certified LabVIEW Developer.
0 Kudos
Mensagem 11 de 20
2.165Exibições
Jon D,
 
I can set the undo to any number, but only in this one vi (the main vi of my program) I have only one undo.  The subvi's all have multiple undos, and other vis I open have multiple undos. 
 
And if I open this one vi on other PCs, it still has only one undo...
 
Strange!
 
Mike
 
 
0 Kudos
Mensagem 12 de 20
2.147Exibições
Hi All,

As was mentioned earlier in this thread, there are a few known instances, and possibly some stranger unknown ones, where the Undo list is cleared.  There was a fix applied in LabVIEW 8.6 to try to address this issue.  Hopefully the behavior you are seeing is now fixed in 8.6!  And I apologize for any inconvenience this has caused.

Cheers,
Brian A.
National Instruments
Applications Engineer
0 Kudos
Mensagem 13 de 20
2.127Exibições
Brian,
 
So I guess the undo list is somehow tied to the VI, and this particular VI will not allow an undo list greater than one item.   Strange...
 
Thanks,
Mike
0 Kudos
Mensagem 14 de 20
2.113Exibições
Just curious Mike - what is the function of your VI? Mine is using ActiveX to work with some Excel spreadsheets, in LabVIEW 8.5.
0 Kudos
Mensagem 15 de 20
2.107Exibições
It's the main vi of my application.  It's got about 200 subvi's in it...and all of them can have multiple undos...but the main has only one.
 
Mike
 
 
0 Kudos
Mensagem 16 de 20
2.102Exibições

Six years after the original post, now running LabVIEW 2013 SP2, and this problem apparently still exists for some of us.  I have a top-level vi created in an older version of LabVIEW (recompiled to LV 2013) which allows only a single undo step while its sub-vi's and other top-level vi's permit the maximum number of undo steps as specified under Environment Options.  An explanation or solution would be much appreciated.

0 Kudos
Mensagem 17 de 20
1.879Exibições

As soon as you Save the VI, the undo history is lost. 

 

LV builds the undo steps, up to the specified limit, until the VI is saved.

0 Kudos
Mensagem 18 de 20
1.874Exibições

Can you attach a simplified version of the VI that only allows a single undo step?

0 Kudos
Mensagem 19 de 20
1.872Exibições

Inexplicably, after some extensive editing, the top-level vi that previously supported only a single undo step now supports multiple undo steps.  Smiley Frustrado

0 Kudos
Mensagem 20 de 20
1.841Exibições