LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Drag and drop issue

Hello to all,

I have a problem with the attached vi.
I enabled the drag and drop from the left table to the combobox in the botton right, the problem is that in some cases when i use this vi in a larger program it will not do the drag and drop....!? the UI is not locked because other controls works fine.
Smiley Surprised
Someone has an idea!?


Smiley Indifferent
0 Kudos
Message 1 of 15
(4,064 Views)

Please stick to single thread for same questions. continue here

Mathan

0 Kudos
Message 2 of 15
(4,061 Views)
Hi Alvarion_…,
i use LabView 8.5 and have no problem with the drag and drop option in your vi. Can you explain what you mean with larger programs? What are the problems then? In which case do you have problems?
 
Mike
0 Kudos
Message 3 of 15
(4,049 Views)
hello there!

The VI will work fine alone.
But i use it in a larger program to save parameters inserted by the user.
The problem is that i call this vi in 3 diffrent places in my program using events and it one of the events when the vi loads everything will work except the drag and drop .....odd!
in the 2 other events it will work fine every time.
i want to attach the larger program but u will have lots of missing vi which so i dont think it will help u.
I attahced a pic of the problematic event (hope it will help u understand what drives me crazy the last 3 hours).

0 Kudos
Message 4 of 15
(4,038 Views)
Hi Alvarion_…,
there is a difference in your vi and the picture. In your vi you use a combo box and your picture shows the event of a tree.
Mike
0 Kudos
Message 5 of 15
(4,030 Views)
The event that will eventually call the vi has nothing to do with the vi itself, you can see the vi in the center of the picture, its the "test config" box.
you see in the larger vi i have a tree with test and when i trage one test to another list i will activate the vi that has problems.


0 Kudos
Message 6 of 15
(4,020 Views)
Hi Alvarion_…,
yes that´s right. If i call your vi within an event loop i see also no problem. It works like expected. Maybe you can upload your vi, i will remove all links from the sub vi which are missing.
Mike
0 Kudos
Message 7 of 15
(4,017 Views)
Hi,

hope you will be able to make it work.
you will see the problematic event at the 4th frame and at the "drag ended" event.
0 Kudos
Message 8 of 15
(4,008 Views)
Hi Alvarion_…,
i can run your vi now. I can drag and drop from "tree" to "test script" without any problems. Is this the part where you have problems?
I recommend to insert a stop button. Smiley Wink
 
Mike


Message Edited by MikeS81 on 06-12-2008 04:23 PM
0 Kudos
Message 9 of 15
(3,986 Views)
1st of all thanks for the patience...
No this is not my problem.
When i drag a test from the tree to the test scipt list an event will trigger which should upload the vi i sent you at the begging.
no when this vi will pop up the drag and drop in it will not work (the drag from the left table to the combo box).

0 Kudos
Message 10 of 15
(3,977 Views)