From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Tree Controls

Solved!
Go to solution

When I create a tree control the default value of the terminal is a string.  How do I make the default value an array of string?  I currently have a tree control that is an array of string and I cannot determine how it got that way and I would like to replace it with a Silver control.

0 Kudos
Message 1 of 4
(2,690 Views)
Solution
Accepted by topic author ww.brown

Hi ww brown,

 

change the selection mode of the tree to "0/1 or more objects"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,650 Views)

Thanks!  Using Selection Mode of "0 or More Items" gave me the desired array of string.  It is curious how the original tree produced this result with Selection Mode set to "0 or 1 Item".

 

WB

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

Then you should mark Gerd's message as the solution to your problem.

0 Kudos
Message 4 of 4
(2,617 Views)