Skip to content

Commit afac746

Browse files
committed
Add support for inserting text into subdiagram labels.
1 parent 40ae3ca commit afac746

File tree

7 files changed

+29
-9
lines changed

7 files changed

+29
-9
lines changed

Add Labels.vi

8.11 KB
Binary file not shown.

QuickDrop AddLabels.vipb

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
<VI_Package_Builder_Settings Version="2018" Created_Date="2019-08-02 16:28:56" Modified_Date="2020-09-03 10:18:49" Creator="Martin" Comments="" ID="e58141f4380f9343d6d7126c399bdf63">
1+
<VI_Package_Builder_Settings Version="2018" Created_Date="2019-08-02 16:28:56" Modified_Date="2020-09-03 21:01:20" Creator="Martin" Comments="" ID="c2b1f0df3ab0c8b70f9018afd4f9a0de">
22
<Library_General_Settings>
33
<Package_File_Name>MNProjects_lib_QuickDrop_AddLabels</Package_File_Name>
4-
<Library_Version>1.1.1.7</Library_Version>
4+
<Library_Version>1.2.0.8</Library_Version>
55
<Auto_Increment_Version>false</Auto_Increment_Version>
66
<Library_Source_Folder>.</Library_Source_Folder>
77
<Library_Output_Folder>build</Library_Output_Folder>
88
<Company_Name>MNProjects</Company_Name>
99
<Library_Summary/>
1010
<Library_License>MIT License</Library_License>
11-
<Package_LabVIEW_Version>20.0</Package_LabVIEW_Version>
11+
<Package_LabVIEW_Version>17.0</Package_LabVIEW_Version>
1212
<Community_Edition>true</Community_Edition>
1313
<Package_Icon>00000D7E002800000C9A00000400000200020022002200080000000000FFFFFF00FF80000000FFFFFFFFFFFF0000FFFFFFFFCCCC0000FFFFFFFF99990000FFFFFFFF66660000FFFFFFFF33330000FFFFFFFF00000000FFFFCCCCFFFF0000FFFFCCCCCCCC0000FFFFCCCC99990000FFFFCCCC66660000FFFFCCCC33330000FFFFCCCC00000000FFFF9999FFFF0000FFFF9999CCCC0000FFFF999999990000FFFF999966660000FFFF999933330000FFFF999900000000FFFF6666FFFF0000FFFF6666CCCC0000FFFF666699990000FFFF666666660000FFFF666633330000FFFF666600000000FFFF3333FFFF0000FFFF3333CCCC0000FFFF333399990000FFFF333366660000FFFF333333330000FFFF333300000000FFFF0000FFFF0000FFFF0000CCCC0000FFFF000099990000FFFF000066660000FFFF000033330000FFFF000000000000CCCCFFFFFFFF0000CCCCFFFFCCCC0000CCCCFFFF99990000CCCCFFFF66660000CCCCFFFF33330000CCCCFFFF00000000CCCCCCCCFFFF0000CCCCCCCCCCCC0000CCCCCCCC99990000CCCCCCCC66660000CCCCCCCC33330000CCCCCCCC00000000CCCC9999FFFF0000CCCC9999CCCC0000CCCC999999990000CCCC999966660000CCCC999933330000CCCC999900000000CCCC6666FFFF0000CCCC6666CCCC0000CCCC666699990000CCCC666666660000CCCC666633330000CCCC666600000000CCCC3333FFFF0000CCCC3333CCCC0000CCCC333399990000CCCC333366660000CCCC333333330000CCCC333300000000CCCC0000FFFF0000CCCC0000CCCC0000CCCC000099990000CCCC000066660000CCCC000033330000CCCC0000000000009999FFFFFFFF00009999FFFFCCCC00009999FFFF999900009999FFFF666600009999FFFF333300009999FFFF000000009999CCCCFFFF00009999CCCCCCCC00009999CCCC999900009999CCCC666600009999CCCC333300009999CCCC0000000099999999FFFF000099999999CCCC0000999999999999000099999999666600009999999933330000999999990000000099996666FFFF000099996666CCCC0000999966669999000099996666666600009999666633330000999966660000000099993333FFFF000099993333CCCC0000999933339999000099993333666600009999333333330000999933330000000099990000FFFF000099990000CCCC000099990000999900009999000066660000999900003333000099990000000000006666FFFFFFFF00006666FFFFCCCC00006666FFFF999900006666FFFF666600006666FFFF333300006666FFFF000000006666CCCCFFFF00006666CCCCCCCC00006666CCCC999900006666CCCC666600006666CCCC333300006666CCCC0000000066669999FFFF000066669999CCCC0000666699999999000066669999666600006666999933330000666699990000000066666666FFFF000066666666CCCC0000666666669999000066666666666600006666666633330000666666660000000066663333FFFF000066663333CCCC0000666633339999000066663333666600006666333333330000666633330000000066660000FFFF000066660000CCCC000066660000999900006666000066660000666600003333000066660000000000003333FFFFFFFF00003333FFFFCCCC00003333FFFF999900003333FFFF666600003333FFFF333300003333FFFF000000003333CCCCFFFF00003333CCCCCCCC00003333CCCC999900003333CCCC666600003333CCCC333300003333CCCC0000000033339999FFFF000033339999CCCC0000333399999999000033339999666600003333999933330000333399990000000033336666FFFF000033336666CCCC0000333366669999000033336666666600003333666633330000333366660000000033333333FFFF000033333333CCCC0000333333339999000033333333666600003333333333330000333333330000000033330000FFFF000033330000CCCC000033330000999900003333000066660000333300003333000033330000000000000000FFFFFFFF00000000FFFFCCCC00000000FFFF999900000000FFFF666600000000FFFF333300000000FFFF000000000000CCCCFFFF00000000CCCCCCCC00000000CCCC999900000000CCCC666600000000CCCC333300000000CCCC0000000000009999FFFF000000009999CCCC0000000099999999000000009999666600000000999933330000000099990000000000006666FFFF000000006666CCCC0000000066669999000000006666666600000000666633330000000066660000000000003333FFFF000000003333CCCC0000000033339999000000003333666600000000333333330000000033330000000000000000FFFF000000000000CCCC0000000000009999000000000000666600000000000033330000EEEE000000000000DDDD000000000000BBBB000000000000AAAA0000000000008888000000000000777700000000000055550000000000004444000000000000222200000000000011110000000000000000EEEE000000000000DDDD000000000000BBBB000000000000AAAA0000000000008888000000000000777700000000000055550000000000004444000000000000222200000000000011110000000000000000EEEE000000000000DDDD000000000000BBBB000000000000AAAA0000000000008888000000000000777700000000000055550000000000004444000000000000222200000000000011110000EEEEEEEEEEEE0000DDDDDDDDDDDD0000BBBBBBBBBBBB0000AAAAAAAAAAAA0000888888888888000077777777777700005555555555550000444444444444000022222222222200001111111111110000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF111111111111111111111111111111111111111111111111111111111111FFFF11111111111111111111111111FFFFFF111111111111111111FF11111111FFFF11111111111111111111111111FF1111FF11111111111111111111111111FFFF111111FFFFFFFF1111FFFF1111FFFFFF1111FFFF11FFFFFF11FF11111111FFFF111111FF11FF11FF11FF11FF11FF11111111FF1111FF11FF11FF11111111FFFF111111FF11FF11FF11FF11FF11FF11111111FF1111FFFFFF11FF11111111FFFF11111111111111111111111111111111111111111111111111FF11111111FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000000000000000FFFF000000000000000000000000000000000000000000000000000000000000FFFF00000000F8F8F8F8F8F8F8F8F8F8F8F8F8F8F80000000000000000000000FFFF00000000F8F6F8F6F8F6F8F6F8F6F6F6F6F6F80000000000000000000000FFFF00000000F8F6F8F8F6F6F6F6F6F6F6F6F6F6F6F600000000000000000000FFFF00000000F8F6F801F8FFFFF6F6FFFFFF0000FFFFFF000000000000000000FFFF00000000F8F6F80001FFFF00F6FFF6F6FF00FFF62BFF0000000000000000FFFF000000000707F801FFF600FFF6FFF6F6FF00FF00F6FF0000000000000000FFFF00000000F8F6F800FFFFFFFF00FFF6F6FF00FF0000FF2B00000000000000FFFF00000000F8F6F801FFF6F6FF00FFFFFFF6F6FFFFFFF62B00000000000000FFFF00000000F8F6F800F600F6F6F60000000000F6F600F6F600000000000000FFFF00000000F8F6F801F600F60000000000F6F6F60000F6F600000000000000FFFF00000000F8F6F8002B00F6000000F6F6F600F60000F6F600000000000000FFFF0000FF002A2AF8FFFFF600FFFFFFF6F6FFFFFF00FFF62B0000FFFFFF0000FFFF0000FF00F8F6F8FFFF2BF6FFF6F6FFF6FF00F600FF2BF600FF0000000000FFFF0000FF00F8F6FF01F6FFF6FFFFFF0000FFFFF6F6FF2B000000FFFF000000FFFF0000FF00F8F6FFFFFFFF2BFFF600FF00FF00F62BFFF6F600000000FF0000FFFF0000FFFFFFF8FFF8F8FFF6FFFFFF2B2BFFFFFF2BFFFFFFF6FFFFFF000000FFFF0000000000000000000000002B2B2B2B2B2BF6002B2BF6F6F60000000000FFFF0000000000000000000000000000000000000000002B2BF6F6F600000000FFFF0000000000000000000000000000000000000000002B2B2BF6F600000000FFFF000000000000000000000000000000000000000000002B2B2BF6F6000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF002900000012000000020000000D01000000000100000000000A000000080000000000240024002900000012000000020000000D00B2B2B900010000000000100000001000000002002300000000000000000023002900000012000000020000000D00FCFCFD00010000000000100000001000000002002200010001000100010022002900000012000000020000000D00B2B2B900010000000000100000001000000002000000240024002400240000002900000012000000020000000D0080808A00010000000000100000001000000002000100230023002300230001</Package_Icon>
1414
<Product_Name>QuickDrop AddLabels</Product_Name>
@@ -46,11 +46,18 @@ Press Ctrl+Space and Ctrl+Q to add a label to a SubVI. For removing the label pr
4646

4747
Add or remove a subdiagram label to a structure element
4848
--------------------------------------------------------------------------------
49-
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.
49+
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+Space and Ctrl+Shift+Q.
50+
51+
If you insert a text into the QD combo box it will be inserted as subdiagram label of the visible frame.
5052

5153
Add or remove a label to a wire
5254
--------------------------------------------------------------------------------
53-
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 &gt;&gt; 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.
55+
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 &gt;&gt; before and after the label text. For removing the label press Ctrl+Space and Ctrl+Shift+Q. If you want to add the removed label again press Ctrl+Space and Ctrl+Q.
56+
57+
Add label to a constant
58+
--------------------------------------------------------------------------------
59+
Select a constant. Press Ctrl+Space to open the quick drop. Insert a text to the input field. Press Ctrl+Q to add the inserted label to the constant. For removing the label press Ctrl+Space and Ctrl+Shift+Q. If you want to add the removed label again press Ctrl+Space and Ctrl+Q.
60+
5461

5562
It is also possible to select more than one element within a blockdiagram. Therefore the appropriate label will be added to the selected elements.
5663

@@ -59,7 +66,7 @@ An animated GIF on the homepage shows the usage of the plug-in.
5966
<Copyright/>
6067
<Packager>Martin N�hrer</Packager>
6168
<URL>https://github.com/matrixx567/LabView_QuickDrop_AddLabels</URL>
62-
<Release_Notes>Change error handling</Release_Notes>
69+
<Release_Notes>Add function to directly add text from combo box to Subdiagram labels.</Release_Notes>
6370
</Description>
6471
<Destinations>
6572
<Toolkit_VIs>

QuickDrop_AddLabels.lvproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
<Property Name="specify.custom.address" Type="Bool">false</Property>
1515
<Item Name="_Add Labels" Type="Folder">
1616
<Item Name="Set Constant Label.vi" Type="VI" URL="../_Add Labels/Set Constant Label.vi"/>
17+
<Item Name="Set Structure Subdiagram Label.vi" Type="VI" URL="../_Add Labels/Set Structure Subdiagram Label.vi"/>
18+
<Item Name="Set FlatSequence Subdiagram Label.vi" Type="VI" URL="../_Add Labels/Set FlatSequence Subdiagram Label.vi"/>
19+
<Item Name="Set MultiFrame Subdiagram Label.vi" Type="VI" URL="../_Add Labels/Set MultiFrame Subdiagram Label.vi"/>
1720
<Item Name="Enum to Array of Enums.vim" Type="VI" URL="../_Add Labels/Enum to Array of Enums.vim"/>
1821
<Item Name="Natt Sequence.vit" Type="VI" URL="../_Add Labels/Natt Sequence.vit"/>
1922
<Item Name="Set Wire Label.vi" Type="VI" URL="../_Add Labels/Set Wire Label.vi"/>
@@ -22,6 +25,7 @@
2225
<Item Name="QuickDrop Add Labels.vi" Type="VI" URL="../help/QuickDrop Add Labels.vi"/>
2326
</Item>
2427
<Item Name="Add Labels.vi" Type="VI" URL="../Add Labels.vi"/>
28+
<Item Name="QuickDrop AddLabels.vipb" Type="Document" URL="../QuickDrop AddLabels.vipb"/>
2529
<Item Name="Dependencies" Type="Dependencies">
2630
<Item Name="vi.lib" Type="Folder">
2731
<Item Name="QuickDrop Plugin Data ver1.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/QuickDropSupport/QuickDrop Plugin Data ver1.ctl"/>
@@ -35,7 +39,6 @@
3539
<Item Name="Open URL in Default Browser (path).vi" Type="VI" URL="/&lt;vilib&gt;/Platform/browser.llb/Open URL in Default Browser (path).vi"/>
3640
<Item Name="Path to URL.vi" Type="VI" URL="/&lt;vilib&gt;/printing/PathToURL.llb/Path to URL.vi"/>
3741
<Item Name="Escape Characters for HTTP.vi" Type="VI" URL="/&lt;vilib&gt;/printing/PathToURL.llb/Escape Characters for HTTP.vi"/>
38-
<Item Name="Path to URL inner.vi" Type="VI" URL="/&lt;vilib&gt;/printing/PathToURL.llb/Path to URL inner.vi"/>
3942
</Item>
4043
</Item>
4144
<Item Name="Build Specifications" Type="Build">

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ A LabVIEW Quick-Drop (QD) plug-in to easily add or remove labels to blockdiagram
44

55

66
## Installation
7-
Place the `Add Labels.vi` file in your `<LabVIEW>\resource\dialog\QuickDrop\plugins` folder.
7+
8+
The plug-in is published as a VIPM Community package. Search for `QuickDrop AddLabels` in
9+
the VI Package Manager and install it easily. Otherwise you can download the VIP package from the Release page and install it manually.
810

911
## Usage
1012

@@ -22,6 +24,9 @@ Select a structure element within a blockdiagram.
2224
Press `Ctrl+Space` and `Ctrl+Q`to add a subdiagram label to the structure element.
2325
For removing the label press `Ctrl+Space`and `Ctrl+Shift+Q`.
2426

27+
If you insert a text into the QD combo box it will be inserted as subdiagram label of the visible frame.
28+
29+
2530
### Add or remove a label to a wire
2631

2732
Select a wire.
@@ -30,6 +35,11 @@ Press `Ctrl+Q` to add the inserted label to the wire. The plug-in will add `>>`
3035
For removing the label press `Ctrl+Space`and `Ctrl+Shift+Q`.
3136
If you want to add the removed label again press `Ctrl+Space` and `Ctrl+Q`.
3237

38+
Add label to a constant
39+
--------------------------------------------------------------------------------
40+
Select a constant. Press `Ctrl+Space` to open the quick drop. Insert a text to the input field. Press `Ctrl+Q` to
41+
add the inserted label to the constant. For removing the label press `Ctrl+Space` and `Ctrl+Shift+Q`. If you
42+
want to add the removed label again press `Ctrl+Space` and `Ctrl+Q`.
3343

3444
The animated GIF below show the three possible options of the plugin:
3545

@@ -43,4 +53,4 @@ The animated GIF below show the three possible options of the plugin:
4353
It is also possible to select more than one element within a blockdiagram. Therefore the appropriate label will be added to the selected elements.
4454

4555
## Hints
46-
The plug-in uses a malleable VI. Therefore the plu-in only works with LabVIEW 2017 and above.
56+
The plug-in uses a malleable VI. Therefore the plug-in only works with LabVIEW 2017 and above.
13.4 KB
Binary file not shown.
12.5 KB
Binary file not shown.
13.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)