07-15-2019 11:21 AM - edited 07-15-2019 11:23 AM
A LabVIEW Quick-Drop (QD) plug-in to easily add or remove labels to blockdiagram elements.
Place the Add Labels.vi file in your <LabVIEW>\resource\dialog\QuickDrop\plugins folder.
This quick-drop plug-in works only in the block diagram.
Select a SubVI within a blockdiagram.
Press Ctrl+Space and Ctrl+Q to add a label to a SubVI. For removing the label press Ctrl+Spaceand Ctrl+Shift+Q.
Select a structure element within a blockdiagram. Press Ctrl+Space and Ctrl+Qto add a subdiagram label to the structure element. For removing the label press Ctrl+Spaceand Ctrl+Shift+Q.
Select a wire. Press Ctrl+Space to open the quick drop. Insert a label text to the input field. Press Ctrl+Q to add the inserted label to the wire. The plug-in will add >> before and after the label text. For removing the label press Ctrl+Spaceand Ctrl+Shift+Q. If you want to add the removed label again press Ctrl+Space and Ctrl+Q.
The animated GIF below show the three possible options of the plugin:
It is also possible to select more than one element within a blockdiagram. Therefore the appropriate label will be added to the selected elements.
The plug-in is developed in LabVIEW 2016. If you have an older version of LabView you have to save the provided project to this older version by yourself.
The source code of the project can be found on Github.
If you find some bugs, have questions or other comments please feel free to reply.
10-25-2023 06:18 AM
This is a quite helpful plugin for us as we are big fans of using labels. Thank you, Martin!
For posterity, the latest version of this plugin - which also supports BD constants! - can be found at https://www.vipm.io/package/mnprojects_lib_quickdrop_addlabels/
DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )