ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to contract a tree programatically

i have created a tree, and while i run the code the tree comes expanded, i want it in compress structure. any method

Never send a human to do a machine's job.
0 Kudos
Message 1 of 2
(2,865 Views)

Hello,

 

You just need to use a method node, as you can see below (my LV is french but I wrote english translation in green) :

 

Tree.JPG

 

Note : for creating a method, right click on control and then "create > method node" (and then select a method in the list)

Message 2 of 2
(2,861 Views)