LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 7.1 Tree "Get Child" Method Bug

There appears to be a minor bug in the Tree "Get Child" method in LV 7.1. If the "tag" input does not exist in the tree, but the method output is not wired out, no error is returned. However, if the method output is wired to an indicator, error 1136 is returned. I haven't tried this on any other methods or controls. (I was hoping to use this method to determine if a tag already exists in the tree).

I've attached a demo VI. Run it once as-is, and you'll see that no error is returned. Then go to the block diagram, right click on the invoke node "Navigate Tree:Get Child" output, and select Create-Indicator. Run the VI again and you'll see error 1136 reported.
0 Kudos
Message 1 of 2
(2,620 Views)
Hi Jaegen,

You�re right � this doesn�t seem like the correct behavior. It�s the same behavior with all four �Navigate Tree�� properties. I reproduced it in LabVIEW 7.1.

I will report this to our R&D department for future improvements. If the behavior is intentional, I will post the reason in this thread.

Thanks for reporting this!


Best regards,
Philip C.
Applications Engineer
National Instruments
www.ni.com/ask
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 2
(2,620 Views)