From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Drag drop Sub Panel VI

Has anyone done a drag from a tree control and dropped the data into another control on the front panel of a VI running within a Sub Panel container? I believe I will have to use a queue to actually communicate the data from the parent vi to the vi in the sub panel, but let me know if I am barking up the wrong tree.

Chris
Practical Physics, LLC
www.practicalphysicsllc.com
0 Kudos
Message 1 of 3
(2,508 Views)

I dont quite get what you're referring to, while editing, or in a running vi? Or transfer data to a subpaneled vi?

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 3
(2,500 Views)

Hi,

I understand you want to drop an item of the tree into a subpanel.

One simple way I would suggest is to have a string control of the same size as the subpanel and place it above the subpanel.

When you start dragging from the tree turn the visibility of the subpanel off so that the string control will capture the dropping event.

Then turn the visibility on of the subpanel and do your tasks.

I am working to find a better efficient way to do the drag and drop into a subpanel. I will let you know soon.

 

Regards,

Shameel

Message 3 of 3
(2,262 Views)