LabVIEW Idea Exchange

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

Request: Create subvi on right click menu

Status: New

Move the create subVI to the right click menu for highlighted code.

2 Comments
RavensFan
Knight of NI

Why do we need this on the right click menu?

 

It is already under the Edit menu.

 

I'm opposed to putting anything on the right click menu unless it is immediately helpful for the items that are selected.  It is called a "context menu" which means a menu of actions that are specifically relevant to the item or items selected.  Create SubVI is a very broad action that can apply to just about anything, and is not used often enough that it needs to be upgraded to a prominent position within the right-click context menu.  When more and more items are moved to the right click menu, the importance and the convenience of the items that were already decreases as the right click menu becomes more cluttered.

dgdgomez
Member

In previous versions of LabVIEW, it was necessary add the following to the LabVIEW.ini file: inlineSubVIEnabled = TRUE, so that the developers have the opction "Inline SubVI" in shortcut menu. From the LV17 version, this option is activated by default, and we can find it in the contextual menu as "Reenplace SubVI with Content".

 

Create SubVI_2.png

 

 

Look the following article: Improve Load Time with Inlining

 

From my point of view, if LabVIEW has included this option, it could be understood that there is also the option to "Create SubVI" in the contextual menu.

 

Create SubVI_5.png

 

Actually, I think there are some options that can be grouped

 

Create SubVI_7.png

 Create SubVI_9.png

 Regards.