LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Darin.K

New and improved option to prevent deleting FP objects from the BD (sort of)

Status: New

Back in the day (up to LV8.6) there was an option to enable or disable the ability to delete FP controls by deleting their BD terminals.

 

DeleteFPControls.png

 

This was both great and very annoying which made it hard to decide to leave it on or off.  I had a slight lean toward off with its previous incarnation.  Now you have to set an ini key to get this behavior: copyDeleteFPDCOFromFPTerm = True/False.  It was great when you wanted to delete a structure or group of objects in a BD, but save the controls.  It was annoying when you actually wanted to delete the control from the BD.

 

I do not want this back as is (as was?).  I would prefer a small change.

 

The default setting should be to blast everything as happens now.  Same as setting the old option to True.

 

The new setting should behave as follows:  If a selection contains more than control terminals, then everything but the terminals should be deleted.  The terminals should be selected though.  A selection containing only one or more terminals would result in deletion of the controls. 

 

In this way, let's say you are deleting a structure with some controls inside.  Select the structure and delete it.  You should be left with a selection containing the terminals which were inside.  Delete a second time to get rid of them, or move on if you would like them preserved.  Selecting a terminal and deleting it works normally.
 

 

4 Comments
X.
Trusted Enthusiast
Trusted Enthusiast

The real solution to this is different user modes: beginner/intermediate/advanced.

In advanced mode, you would have the possibility to customize everything, and for instance, be able to delete a structure while leaving the controls whose terminals are enclosed in it, by a clever combination of key press.

Your evolving ambivalence about the feature is revealing BTW...

ThiCop
NI Employee (retired)

Maybe we could go a bit further and have an option in the Tools Palette: A "Selective BD Select"

 

This should then allow you to only select the Block diagram wires and VI's (and constants), but will keep the Indicators and controls unselected.

 

PS: Just throwing ideas at you..

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
crossrulz
Knight of NI

Darren, I really like this idea.  You get the best of both worlds.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
gsussman
Active Participant

I think that the proposed implementation is the perfect balance between functionality and ease of use. I find that I am in the position to want both

copyDeleteFPDCOFromFPTerm = TRUE and FALSE about 50% of the time. A 2nd press of the Delete key seems like a perfect compromise. <Kudos>

Greg Sussman
Sr Business Manager A/D/G BU