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 can i disabled expand XML in cvi .

Hi,
 
Can you tell me how to disabled Expand Xml in cvi 8.1 exempale.
 
I want to see only the root in the tree not the children.
 
I appriciate quick answer.
 
Best Regards
israel
 
 
0 Kudos
Message 1 of 3
(2,222 Views)
If you want an answer about CVI, you should post to that forum and not the LabVIEW one.
0 Kudos
Message 2 of 3
(2,217 Views)
Hi sruly,

In the tree control properties, you can change the "Show Plus/Minus Box" setting.  You can also do this programmatically using
SetCtrlAttribute. 
You can programmatically choose to collapse items by using
SetTreeItemAttribute and choosing the Collapsed attribute in the Item Settings section.

As Dennis said, please post LabWindows/CVI questions in the proper forum.

Gavin Fox
Systems Software
National Instruments
0 Kudos
Message 3 of 3
(2,198 Views)