06-14-2016 04:25 AM
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
06-14-2016 04:37 AM
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.
06-14-2016 04:39 AM
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..!
06-14-2016 04:57 AM
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
06-14-2016 05:11 AM
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.
06-15-2016 09:31 AM
@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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord