I'm programmatically adding elements to a tree control in LabVIEW 7.1.1. As far as I can tell, I can sometimes add items to my list and sometimes not. For instance, at times the following works: if I have a parent level called "Grandparents A", I can add a child level called "Parents", and a child level to that called "Children". I can then add a new parent level, "Grandparents B", with the same children levels, "Parents" and "Children" with no problem:
Grandparents A
-Parents
--Children
Grandparents B
-Parents
--Children
Then for some reason I attempt to add another parent level, "Grandparents C", and attempt to add "Parents" and/or "Children", and I get error 1055 "LabVIEW: Object reference is invalid."
This error could be linked to the secondary beta software that I am using, but was just curious is anyone has ever seen anything like this.
Any ideas?