orko Posted June 28, 2007 Report Share Posted June 28, 2007 Alright, this is baffling me. Pulling an idea from my other post here, I'm trying to figure out how to tell LabVIEW that changes were made to the BD with the "CleanUp Wire" method. 1) I would like the utility in that post to notify LabVIEW that changes were made if it moves any wires, and prompt the user for a save on close. I thought that it would be as simple as to set the BD docmods to something non-zero, but that doesn't appear to work. I even tried to capture the docmod values after a normal "cleanup wire" action and set them to that value, and the asterisk never appears on the title bar Has anyone had any luck with this? 2) It would be very nice to be able to "Undo" the wire cleanup in case the end result isn't ideal. Were is the undo state information stored, and how do I insert my changes into it's "stack"? http://forums.lavag.org/index.php?act=attach&type=post&id=6245 Thanks for any help. Quote Link to comment
Rolf Kalbermatter Posted June 28, 2007 Report Share Posted June 28, 2007 QUOTE(orko @ Jun 27 2007, 04:06 PM) Alright, this is baffling me.Pulling an idea from my other post here, I'm trying to figure out how to tell LabVIEW that changes were made to the BD with the "CleanUp Wire" method. 1) I would like the utility in that post to notify LabVIEW that changes were made if it moves any wires, and prompt the user for a save on close. I thought that it would be as simple as to set the BD docmods to something non-zero, but that doesn't appear to work. I even tried to capture the docmod values after a normal "cleanup wire" action and set them to that value, and the asterisk never appears on the title bar Has anyone had any luck with this? 2) It would be very nice to be able to "Undo" the wire cleanup in case the end result isn't ideal. Were is the undo state information stored, and how do I insert my changes into it's "stack"? http://forums.lavag.org/index.php?act=attach&type=post&id=6245 Thanks for any help. Have you tried these? Rolf Kalbermatter Quote Link to comment
orko Posted June 28, 2007 Author Report Share Posted June 28, 2007 QUOTE(rolfk @ Jun 27 2007, 02:24 PM) Have you tried these?Rolf Kalbermatter No I hadn't seen those... I'll give them a shot and see if I can make sense of them ;-) Will they also take care of notifying LV that there was a cosmetic change made to the BD (prompt for save)? Thanks Rolf! Quote Link to comment
jpdrolet Posted June 29, 2007 Report Share Posted June 29, 2007 When you open the VI reference, wire 1 to the option input. From the help for Open VI Reference: QUOTE 0x01: Record modifications. An asterisk (*) appears by the VI title to indicate that changes have been made using VI Server. The VI must be in edit mode for LabVIEW to record the modifications. Quote Link to comment
orko Posted June 29, 2007 Author Report Share Posted June 29, 2007 QUOTE(jpdrolet @ Jun 27 2007, 04:07 PM) When you open the VI reference, wire 1 to the option input. From the help for Open VI Reference: I had a feeling I was missing something silly... Thank you! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.