cancel
Showing results for 
Search instead for 
Did you mean: 

Tree item path

Highlighted
yangch
Member

Tree item path

Message contains an image

When the drag is not end yet, have any ways to get  c4 path?

11.png

5 REPLIES 5
Hooovahh
Proven Zealot

Re: Tree item path

If you have the tag (the string value of the tree) use the invoke node to get items parent, then get that items parent, over and over in a while loop until the parent string is empty.  You can index the loop to get an array of string which is the path bottom to top.

yangch
Member

Re: Tree item path

Thank,Hoovahh~~

 

Sorry, My question depiction is not well.

 

My question want to know have any way, that get C4 path at dragging?

Hooovahh
Proven Zealot

Re: Tree item path

Message contains an image

@yangch wrote: 

My question want to know have any way, that get C4 path at dragging?


Yes, using the method I described.

 

Example_VI.png

yangch
Member

Re: Tree item path

Message contains an image

Thanks,Hooovahh~~

 

Your way can get "C4" path on dragging,but no way to get "C4" dragging on C2 at not drag end.

 

Have any way to get path that dragging on "C4" on "C2" at not drag end,get result like red circle?

 

22.png

Hooovahh
Proven Zealot

Re: Tree item path

Message contains a hyperlink

I made a new topic here that is related.  The VI I posted there gets you most of the way there, but not quite.  It seems to be a strange behavior of LabVIEW and I felt needed its own topic.