Vivek Bhojan Posted January 4, 2011 Report Share Posted January 4, 2011 Hello Friends, I want to implement a Tree Control with for loop (N=3), In my first iteration the tree control should be updated with Tag "Demo" Second Iteration: "Demo/Measurement" Third Iteration: "Demo/Measurement/Converter" Thank you Quote Link to comment
Antoine Chalons Posted January 4, 2011 Report Share Posted January 4, 2011 Hello Friends, I want to implement a Tree Control with for loop (N=3), In my first iteration the tree control should be updated with Tag "Demo" Second Iteration: "Demo/Measurement" Third Iteration: "Demo/Measurement/Converter" Thank you I suggest you take a look at the Tree Control API. Hope this helps 1 Quote Link to comment
Vivek Bhojan Posted January 4, 2011 Author Report Share Posted January 4, 2011 I suggest you take a look at the Tree Control API. Hope this helps This has solved my issues.. Thank you for your valuable suggestion Quote Link to comment
Vivek Bhojan Posted January 4, 2011 Author Report Share Posted January 4, 2011 Can anybody help me in developing a Tree Control with Parent in Col 0, Child in Column 1 Quote Link to comment
ShaunR Posted January 4, 2011 Report Share Posted January 4, 2011 Can anybody help me in developing a Tree Control with Parent in Col 0, Child in Column 1 You can only have a tree in column 0. But you can put data in the other columns Quote Link to comment
Vivek Bhojan Posted January 10, 2011 Author Report Share Posted January 10, 2011 You can only have a tree in column 0. But you can put data in the other columns How to convert a 2D Array to Tree. Attached a snap for reference. Quote Link to comment
Antoine Chalons Posted January 10, 2011 Report Share Posted January 10, 2011 How to convert a 2D Array to Tree. Attached a snap for reference. with a little bit of imagination tree.vi Quote Link to comment
Vivek Bhojan Posted January 11, 2011 Author Report Share Posted January 11, 2011 with a little bit of imagination tree.vi Hello Mr.Antoine Chalon. Thanks for your vi.. I am facing a little problem with the vi. Please see to the attached image of what exactly is required. Please help me in order to get the Preferred Output in the Image Quote Link to comment
Antoine Chalons Posted January 11, 2011 Report Share Posted January 11, 2011 Hey... well... True I went a bit fast and forgot to check if a child already exists before creating it , but really it's not a lot of work. Each time, before creating a child item, you just need to check if it already exists. That's what the first bit of code is doing (tree function "check"). Give it a try and post what you came up with if you still have trouble. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.