LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
David_L

Fix Copy/Paste for property nodes, local variables, etc

Status: New

I don't know why LabVIEW does this, but when you copy and paste (with ctrl-c and ctrl-v as opposed to ctrl-drag) certain items on your block diagram, they do not act as most would expect.  I think copy and paste should make an exact copy of what you are copying instead of changing the functionality/behavior.  Examples

 

Local Variable:  

 

variable copy.PNG

 

If you copy a local variable, it creates a new control and makes a local variable out of that.  I really just want a copy of the local variable that's already there.  If I wanted a new control, I would have made one, no?

 

Property Node:

 

property node copy.PNG

 

 Copying an implicit property/invoke node changes it to an explicit node.  Why wouldn't it just make another copy of the implicit node that I already had?

 

I'm sure there's other examples of this behavior that I can't think of now, so feel free to add them to the comments.  If you have a good reason why this behavior is here, please let me know as be happy to be corrected...

 

13 Comments
Ray.R
Knight of NI

I have to think about this one...

 

I do agree that it is annoying to do a natural step such as Copy / Paste where you meant to do a Ctrl+drag.  I'd have to think about the implications of not having the current Copy/Paste.  I'm on the fence leaning towards a kudo...

dthor
Active Participant

I actually love the current implementation for copy/paste *because* the two methods have different results. It is a bit more powerful, in my opinion.

 

I would like it, though, if the placement of terminals and FP indicators would be a little more convenient for those times that I do need to duplicate controls... But I'm pretty sure that's a different Idea elsewhere on the exchange.

Ryan_G_EE
Member

I definitely do not like the current way that Labview handles copying and pasting of local variables and property nodes. See here for my opinion on the matter. No point in duplicating it here...

 

However, it appears that there is a distinct split in user preference here. Would it be possible for NI to create a Preferences option that could allow Labview users to select which way it is handled?