From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,095 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,091 Views)