LabVIEW APIs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Tree API

Hi Piotr,

 

I am trying to use Tree API in my application,

 

Current i can able to add new item in Tree using CreateTree.vi .

 

My Question is How to delete that Particular item in tree?

 

Thanks,

Saran

0 Kudos
Message 21 of 40
(6,231 Views)

Sorry, i found how to it 🙂 ignore my previous message.

 

Very good API 

 

 

Message 22 of 40
(6,228 Views)

Hi,

 

Tree control makes labview Crash, any advice ? 

 

 

0 Kudos
Message 23 of 40
(5,991 Views)

1. Explain on a forum exactly what the problem is (NOT HERE). Ask for help.

2. Contact NI technical support via. email.

3. Reinstall LabVIEW.

 

I hope this helps.

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
0 Kudos
Message 24 of 40
(5,977 Views)

Hi,

 

I would like to use the tree API and store a serialized xml object as metadata and serialize the tree to xml. The serialization works just fine but if i try to deserialize it with XML as metadata, then it gives me an error stating the opening and closing tag is not the same. I suspect it doesn't ignore the Metadata string <Child MetaData="<Object>....</Object>"> and thinks the closing tag for Child is in the metadata string. Please help me to resolve this issue!

 

 

Thank you!

 

Update: It is a better approach to create a custom data type for the object (inherit from Tree Data class, create mandatory overrides) and store it that way as Tree Data. Using that method it works flawlessly. Thank you for the awesome API!

 

Message 25 of 40
(5,892 Views)

Hello,

 

Thank you for this API, it's really impressive.

I had a look at the examples and i'd like to use it in an application, but i want to be sure of something. Is there a way to handle glyphs with it? I don't find anything for that.

0 Kudos
Message 26 of 40
(5,776 Views)

I did not implement a glyph handling mechanism for this... yet. It is on my list of features to do in the future, but for now it will stay like this. I'm figuring out the best way to do this.

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
0 Kudos
Message 27 of 40
(5,740 Views)

Hi Piotr,

 

I need to use Symbols in Tree, is there a way to do? 

 

Thanks in advance 

0 Kudos
Message 28 of 40
(5,619 Views)

Hi Piotr,

 

I have found the temporary solution to solve  symbol in tree 

0 Kudos
Message 29 of 40
(5,617 Views)

Hejka! In the newest version of the API the interaction with tree control is different, which enables users to change the glyphs directly. I included a code snippet showing how this can be done.

Piotr Kruczkowski
Certified TestStand Architect
Certified LabVIEW Architect
Message 30 of 40
(5,564 Views)