LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug in copying SubPanels

When using Ctrl+drag to copy a subpanel, i only get the front panel object, but no Insert VI-node.

I suspect it's since it's a property node of sorts, and they usually don't get copied, but since it's the only way to communicate with a subpanel, it really should ...

Classic, normal or system works the same (bugged) way, LV2011 and 2014, haven't tried in others.

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 1 of 6
(3,747 Views)

Hello Yameada,

 

I'm not sure you can call this a bug.  As the property node isn't directly linked to the subpanel. You can suppress it and it will not suppress your subpanel. 

There is probably a LabVIEW scripting behind the insertion of a subpanel from control palette.

 

Add the same behavior to copied action isn't the same business.

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
0 Kudos
Message 2 of 6
(3,737 Views)

Yes. When we ctrl+drag sub panel, LabVIEW is not creating invoke node in the block diagram. But we can Right click on the sub panel control and create Invoke node or property node or reference.

 

Kudos are welcome..!

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

If it's important enough to be created when you drop the front panel object, i'd say it's important enough to be created when you ctrl+drag it. It's almost like not getting a Terminal on the block diagram. 🙂

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
Message 4 of 6
(3,725 Views)

Not really, it is the same behavior with a lot of display or command.

 

For example, Smith plot. When you drop it from palette it comes with a function and a property node. When you copy it you will only copy the plot, as plot property node and function are 3 different elements.

A command and its terminal are the same.

 

Theres is so much exemples that it make me think that it's a wish behavior.

 

Regards.

 

Sabri JATLAOUI - Certified LabVIEW Architect - Certified LabVIEW Developer
Message 5 of 6
(3,715 Views)

@Yamaeda wrote:

If it's important enough to be created when you drop the front panel object, i'd say it's important enough to be created when you ctrl+drag it.


Right, well I disagree with creating the invoke node as well.  I don't want software trying to predict what I am going to do, unless I do it 100% of the time.  And passing a subpanel reference into a subVI or passing the reference to some other process is something that I do.  I say CTRL drag as it is today, isn't a bug, and I would say adding the invoke node is an undesired function.

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