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: 

TypeDef to Tree

Solved!
Go to solution
Solution
Accepted by Dealcs2

Here is an attempt without recursion and a faster insert method. Items must be sorted for this to work properly.

Message 11 of 16
(1,487 Views)

@Dealcs2 wrote:

Thanks for the help on this! Is there anyway that you can save in for LV2019? It looks like you are on 2020 and I am still on 2019 😞


Sure.

Message 12 of 16
(1,479 Views)

This works great! Thanks for the help on this! The only this is that I cannot have something like A.6 and then A.6.a. But really that is perfectly fine for the application. Thanks again!

Dealcs2_0-1678747262536.png

 

0 Kudos
Message 13 of 16
(1,458 Views)

This seems to only be populating a few elements. Am I using it wrong?

Dealcs2_0-1678747592871.png

 

0 Kudos
Message 14 of 16
(1,456 Views)

@Dealcs2 wrote:

This seems to only be populating a few elements. Am I using it wrong?


Yes.

 

You have to use the VI as a sub VI. So putting a tree on the front panel of the sub VI is wrong. Put a tree control on a new VI, then call the sub VI. See how to use. 

Message 15 of 16
(1,434 Views)

Got it! Did not catch that the VI was a clone. This works great. Thanks!

Dealcs2_0-1678796248976.png

 

0 Kudos
Message 16 of 16
(1,419 Views)