LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree item path

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

11.png

0 Kudos
Message 1 of 6
(3,367 Views)

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.

0 Kudos
Message 2 of 6
(3,341 Views)

Thank,Hoovahh~~

 

Sorry, My question depiction is not well.

 

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

0 Kudos
Message 3 of 6
(3,326 Views)

@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

0 Kudos
Message 4 of 6
(3,303 Views)

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

0 Kudos
Message 5 of 6
(3,275 Views)

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.

0 Kudos
Message 6 of 6
(3,255 Views)