Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.

Quick Drop Hotkeys

Introduction

While Quick Drop was added in LabVIEW 8.6, Quick Drop hotkeys weren't added until a year later in LabVIEW 2009. This allows us to use our own hotkeys (as well as some pretty handy ones supplied by LabVIEW) without having to worry about interfereing with Windows hotkeys.

There are currently three defined hotkey combinations:

  • Ctrl-[shift]-D - If you select some diagram objects, then press Ctrl-Space-Ctrl-D, controls and indicators will be automatically created and wired for all inputs and outputs of the selected objects. If you press Ctrl-Space-Ctrl-Shift-D, constants will be created and wired for all inputs.
  • Ctrl-R - If you select some diagram objects, then press Ctrl-Space-Ctrl-R, those objects will be removed from the diagram, but all wires that had pass-through inputs and outputs on those objects (like refnum or error wires) will be retained.
  • Ctrl-T - If you press Ctrl-Space-Ctrl-T while a diagram is open, the labels of all control/indicator terminals on the top-level diagram are moved the left/right of the terminal, respectively.

Steps to Complete

Bring up Quick Drop with Ctrl-Space, and then use one of the above listed hotkeys. Or you can go to my blog and watch the video!

You can also make your own hotkeys or maybe you want to replace LabVIEW's with something better. So, Quick Drop keyboard shortcuts are a plugin architecture, and you are free to use LabVIEW Scripting to write your own shortcuts!  You'll notice that the following folder now exists in LabVIEW 2009:

[LabVIEW 2009]\resource\dialog\QuickDrop\plugins

Inside this folder are d.vi, r.vi, and t.vi. Those are the VIs that define the Ctrl-[shift]-D, Ctrl-R, and Ctrl-T shortcuts in Quick Drop. If you want to write your own shortcut (let's say it's Ctrl-E), start with resource\dialog\QuickDrop\QuickDrop Plugin Template.vi, save it as e.vi in the plugins folder, and now you have a Ctrl-Space-Ctrl-E shortcut!

Message 1 of 2
(8,830 Views)
1 REPLY
Highlighted

Re: Quick Drop Hotkeys

Is there any way to get Ctrl-T to affect Control/Indicator terminal labels that are not on the top-level diagram (i.e inside while loops, case structures, sequence structures, etc.)?

0 Kudos
Message 2 of 2
(1,044 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.