LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generic property node in sub vi

Solved!
Go to solution

hey guys,

 

I just created a snippet of code to take the full path from the selected name in a tree and add periods between all the parents and children to be used as a path for the configuration tool.

 

I want to put it in a sub vi as its kind of large and maybe use it later for the same project, will the property node of the tree be a generic reference to any attached tree structure or will it only work for this tree structure?

 

 

thanks

0 Kudos
Message 1 of 4
(3,342 Views)
Solution
Accepted by topic author pathare535

The property node will be "generic".

 

You will need to pass in the reference of your specific tree through a control on the the front panel of the subVI.  Then you will connect that reference wire to the Explicit property node so that the property node which specific tree you are working with.

0 Kudos
Message 2 of 4
(3,332 Views)

do you mean create a tree structure for the sub vi and the property node will belong to that tree structure, then wire the tree structure from the main to the tree in the sub vi?

0 Kudos
Message 3 of 4
(3,322 Views)

oh nevermind I see.

 

thank you

0 Kudos
Message 4 of 4
(3,318 Views)