08-06-2009 01:46 AM
Hello, I am a beginner in LabView, maybe I am asking an easy questions, but please answer if you have solution.
I have a tree in my program. I have difficulties with the following:
1. I need to check the elements of tree with their corresponding item symbols. For example, I need to check
if Item1A is marked or not and, depending the result, do some operations.
2. Each child element of the tree must realize some command line command. Is it possible to do all commands automatically, by
pressing START button? The program will check if the Item1A element is marked and do the corresponding command,
then after finishing it will check the Item1B, ... . Can I organize a loop to pass through all child items?
Thanks
08-06-2009 03:24 AM
Hi Tar81,
you can iterate the "Active Item" to get associated tree item "Symbol". Then check the item symbol and decide if it is marked or not. If marked, call its command line command.
In my example code i set symbol index <38> as checked status. Hope that can help you.
08-07-2009 03:36 AM