From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

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

Put a created control/indicator/constant on the cursor

Status: Completed

Available in LabVIEW NXG. When you click and hold on the right-click > Constant/Control/Indicator menu selection, the Constant/Control/Indicator will be on your cursor so you can place it in a specific location.

News flash (not really):  The algorithm used to place controls/constants/indicators using the Create xxx right-click option is, um, let's say not so effective.  As an example let's do a simple test.  Drop a node and do Ctrl-space Ctrl-D:

 

BadCreateControl.png

 

Yikes.  It is not a QD problem, it only speeds up the mess-making process.  Another fun problem is when the created control blows up your structure along with putting the terminal in a bad spot.

 

My suggestion:  When you right Click->Create xxx then the new object should be placed on the cursor for a more graceful drop.  After dropping, it should be wired to the desired terminal.  This would allow you to pull it outside a structure if so desired.  And if you happen to be a real stickler, then you could even not enable autoindexing if you happen to pull your array control out of a loop.  Defer all autogrowing until after the drop.

 

And while on the subject: it would also help to have similar behavior here:

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Autowire-Property-Nodes-Created-From-Right-Click-Menu/...

 

2 Comments
X.
Trusted Enthusiast
Trusted Enthusiast

Beyond frustrating... 

The blowing up thing can be alleviated by turning off the "auto-explode the diagram" option (which is the first time I do when installing LV - new version does not inherit the preferences of the previous one).

Or by an option to create constants as icons.

Darren
Proven Zealot
Status changed to: Completed

Available in LabVIEW NXG. When you click and hold on the right-click > Constant/Control/Indicator menu selection, the Constant/Control/Indicator will be on your cursor so you can place it in a specific location.