LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copying data from a tree to another

Hi all!

I am in a trouble when I try to copy somedata from one tree to another one.

The interface allows the user to select one item from the first tree, and then when he clicks on a button, this item is copied to the second tree. The first tree stays in the same way. It is not permitted to the user to do any operation on the first tree.

It is permitted to the user to remove items from the second tree. But I implemented this without any trouble.

The problem occurs, after I selected the item that will be copied. Then, when I click on Add button, an unexpected error occurs.

The vi is attached.

Thank you in advance
0 Kudos
Message 1 of 6
(3,699 Views)
hello, can you save your vi in version 7.1  may I can help you. or just give a screenshot of your code
0 Kudos
Message 2 of 6
(3,692 Views)
I am using version 8.2, and it doesn´t allow me to sabe in 7.1

So, I send you the screen shot of blocks diagram.

Thank you in advance.

0 Kudos
Message 3 of 6
(3,686 Views)
0 Kudos
Message 4 of 6
(3,674 Views)
hello,

I think the best way to solve your problem is to use the Invoke node of your Tree source and Target. see the Tree  examples under labview\examples\general\controls\Directory Tree Control.llb directory, they are really helpfull. I will try to make for you a simple vi which copy a data from one to another, just give me time. or if any body else has something allready works please post it.
0 Kudos
Message 5 of 6
(3,670 Views)
Hi!

Unfortunally, I didn´t have this example installed in my machine. I don't know why.

Does someone has it or could send me a example of a VI which has the featured explained before?

Thank you in advance.

Message Edited by gborges on 09-18-2006 06:24 AM

0 Kudos
Message 6 of 6
(3,645 Views)