Ni.com is currently experiencing issues that may cause some pages to fail.
Support teams are actively working on the resolution.
Ni.com is currently experiencing issues that may cause some pages to fail.
Support teams are actively working on the resolution.
02-15-2011 07:40 AM
I have a populated TREE control on my front panel. I also use an event structure to track "Value Change" of the TREE.
At certain points in my program I will programmatically rename some of the tags in the TREE using the ActiveItem.Tag and Cell String properties. When I do this the TREE visually, updates properly.
My problem is, when I click on the renamed elements in the TREE, the OldVal and NewVal data nodes in the event structure reflect the tag names prior to the rename that was performed.
I'd appreciate it if someone could steer me in the right direction. Thanks...
Solved! Go to Solution.
02-16-2011 01:31 PM
Hey JHaas,
Can you possibly post your code? I have seen some bugs in LabView version 8.5 close to this issue, but I am still unclear about your issue. Thanks!
Cheers,
kgarrett
02-16-2011 01:51 PM
You cannot edit an item's tag using property nodes; if you want to change a tag, use the method EditTreeItems.SetTag. An item's tag and its cell contents are independent, and all tags must be unique (but cell contents can be identical). When you set the ActiveItemTag property you're telling LabVIEW which cell to reference, not what the tag should be.