LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I save dialog tree settings?

Hello all,

I'm using a dialog tree (LabVIEW 7) as a menu to control a series of tests. Basically, the user selects the test from the dialog tree, the test is run, then a symbol is placed next to the line in the dialog tree indicating whether it passed or failed.

This all works great.

The problem comes in that I would like the user to be able to save his location in the test. I thought I could do this using the 'Get all Control Values' node, but apparently it doesn't save the symbol aspects of the tree dialog.

Is there a way I can save a tree dialog control, restart a VI and load it so that any symbols I previously had added to it will be visible?

I've attached my VI. It's a bit jumbled (first draft) but I think you
can grasp the idea of what I'm trying to do. Currently, I'm saving the control and indicator data separately, because I haven't figured out how to create one document with both sets of data in it.

Thanks in advance for your help.

Dave Neumann
0 Kudos
Message 1 of 2
(2,625 Views)
I am a little confused about the question. I created a simple VI that places some items in a tree and then I set some of the symbols. I then closed the Vi and LabVIEW. When I re-opened the VI the tree still had all the symbols.

If you want to save the current state of all the trees symbols, I believe you will have to loop through all the tags and get their symbols and then save that data as an array for example.

To reload it you would just have then re-loop through the tags and set the symbols.
0 Kudos
Message 2 of 2
(2,625 Views)