LabVIEW Idea Exchange

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

Keyboard Access Keys support in LabVIEW for right click context menus

Status: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.

Problem example:  In your intital code you have a case structure containing hundreds of cases which resides inside a for loop having iteration parallelism enabled (for much needed perfomance improvement). 

Upon adding features to the code you realize that you'll need to add a shift register to the for loop for access to a cluster used in about one dozen of the cases.  To accomplish this, you create a copy of the existing for loop and remove iteration parallelism from the copy.  The next step is to delete duplicate cases in each for loop structure so that the original contains only iteration parallelism compatible cases and the copy contains only the cases which require access to change the contents of the cluster.

 

In LabVIEW (at least as recent as 2011) this a time consuming task to delete hundreds of cases from a case structure.  If Keyboard Access Keys were provided on right-click context menus, this repetitive task would be expedited by simply right-clicking the case structure and striking the "D" key to "_Delete This Case". 

 

Likewise, other repetitively accessed context menu items could be expedited in the same way such as "Duplicate Case", Add Case Before", "Add Case After", and "Rearrange Case".  And for context menus of many other objects, "Properties" is commonly accessed.  Similarly, access keys support for wire connection context menus, "Create" >> "Constant", "Create" >> "Control", "Create" >> "Indicator" would be helpful.  Or Front Panel objects context menu items "Create" >> "Local Variable", "Reference", Property Node, Invoke Node, ... etc.

 

Context Menu.png

4 Comments
RavensFan
Knight of NI

I've never had a case structure with hundreds of cases.

 

If you've got a  case structure with hundreds of cases, then later decide you need to copy and delete most of those cases, then you've got bigger problems in the architecture of your code than whatever time saving you are expecting from having shortcut keys is not going to help you much.

HIL_Tech
Member

Keyboard Access Keys are very common, and they can be a great time saver. 

 

If it takes 6 seconds to cllick through context sub menus each time to execute an action, and you have to repeat the task, say even 20 times. Then that's 2 minutes of time performing the repetitive task. 

If you right-click in the same spot and simply strike the same key each time, it can easily cut this time down to 10 seconds or less.

fabric
Active Participant

I agree that the repetitive tasks of your example should be streamlined substantially, but I would prefer to avoid right-click and keystrokes completely in favour of a better event case editor. 

 

IMO something along the lines of jcarmody's RCF/QD plugin should be a first-class citizen of LV...

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.