09-01-2006 03:02 PM
09-01-2006 03:50 PM
09-05-2006 02:20 PM
Thanks. This isn't quite what I was looking for but it does work. I was hoping there was a method or something to duplicate the tree in the subVI. this works though and a solution similar to this is probably what I'll have to live with. Thanks for the help.
Gary
@Darren wrote:
Here's my attempt. This VI uses a control reference of the old tree and generates a data structure that can be used by the "Edit Tree Items.Add Multiple Items to End" method to add contents to the new tree that should be identical to the contents of the original tree. Note that this VI only works with LabVIEW 8.0 and later, since the afore-mentioned method is not available in previous versions.I hope this helps...also note that I saw some re-draw issues with LabVIEW 8.0, i.e. after the VI ran, I didn't see the tree displayed properly until I minimized/restored the window, or dragged another window over it. I did not see the redraw issues in LabVIEW 8.2.-D