Skip to content

Commit

Permalink
Create Wiki and Update Description in vipb (#28)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* update vipb

* Update README.md

* Update README.md

* Update README.md

* change vipb description
  • Loading branch information
nevstop committed Oct 20, 2023
1 parent 7517501 commit a71cb17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 528 deletions.
289 changes: 7 additions & 282 deletions LabVIEW-QuickDrops-Manager.vipb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<VI_Package_Builder_Settings Version="2018" Created_Date="2019-02-21 11:18:16" Modified_Date="2023-10-11 11:44:05" Creator="ni" Comments="" ID="618477537f0de08553e0b6eb71c9a353">
<VI_Package_Builder_Settings Version="2018" Created_Date="2019-02-21 11:18:16" Modified_Date="2023-10-20 15:55:33" Creator="ni" Comments="" ID="f9952bb3c57906806c821417550adba6">
<Library_General_Settings>
<Package_File_Name>LabVIEW_QuickDrops_Manager</Package_File_Name>
<Library_Version>1.0.0.7</Library_Version>
Expand Down Expand Up @@ -39,302 +39,27 @@
<VI_Package_Configuration_File>LabVIEW-QuickDrops-Manager.vipc</VI_Package_Configuration_File>
<Description>
<One_Line_Description_Summary>Tool for managing your QuickDrops</One_Line_Description_Summary>
<Description># LabVIEW QuickDrops Manager
<Description>&lt;b&gt;LabVIEW QuickDrops Manager&lt;/b&gt;, which is also a quickdrop itself, assists in managing your quickdrops. With this tool, there is no need to assign a key to each quick drop and remember it; simply type keywords to search for and execute the desired action. Additional quickdrops have been added. For more information, please visit the wiki: https://github.com/NEVSTOP-LAB/LabVIEW-QuickDrops-Manager/wiki

"NI LabVIEW palettes contain hundreds of useful VIs and functions, but, when you know the exact VI you need, navigating through the palette can take too much time. Quick Drop lets you rapidly find and place LabVIEW front panel and block diagram objects without navigating the palettes or initiating a search."

-- [Boost Productivity with Quick Drop](https://www.ni.com/en/support/documentation/supplemental/08/boost-labview-productivity-with-quick-drop.html)

## Ctrl+Q QuickDrop Manager

### Feature
&lt;b&gt;Feature&lt;/b&gt;

1. Drag form QD list to key to change key assignment.
2. No need to Assign key to every QD, to support all your installed QDs. Type key words to execute QD.
3. QD usage Count.

## Development Environment
&lt;b&gt;Development Environment&lt;/b&gt;

- LabVEW 2014
- VIPM 2020.3

### Dependencies
&lt;b&gt;Dependencies&lt;/b&gt;

- [OpenG Libraries](http://sine.ni.com/nips/cds/view/p/lang/zhs/nid/209027)
- [MGI Libraries](https://www.vipm.io/package/mgi_lib_mgi_library/)

### Default Key-QD Mapping

`A` --&gt; `[Ctrl]` Align and Distribute&lt;/br&gt;
`B` --&gt; `[Ctrl]` Build Array of References&lt;/br&gt;
`C` --&gt; _Reserved_&lt;/br&gt;
`D` --&gt; `[LabVIEW Build-in]` `[Ctrl]` Wire All Terminals&lt;/br&gt;
`E` --&gt; `[Ctrl]` Erease Data(Clear Data)&lt;/br&gt;
`F` --&gt; `[Ctrl]` Arrange VI Window&lt;/br&gt;
`G` --&gt; `[Ctrl]` `[Shift]` Create a Place VI Contents&lt;/br&gt;
`H` --&gt; _Reserved_&lt;/br&gt;
`I` --&gt; `[LabVIEW Build-in]` `[Ctrl]` `[Shift]` Insert&lt;/br&gt;
`J` --&gt; _Reserved_&lt;/br&gt;
`K` --&gt; _Reserved_&lt;/br&gt;
`L` --&gt; _Reserved_&lt;/br&gt;
`M` --&gt; _Reserved_&lt;/br&gt;
`N` --&gt; _Reserved_&lt;/br&gt;
`O` --&gt; `[Ctrl]` Smart Open VI Location in Explorer Window&lt;/br&gt;
`P` --&gt; `[LabVIEW Build-in]` `[Ctrl]` Replace&lt;/br&gt;
`Q` --&gt; `[Ctrl]` NEVSTOP QD Shortcuts (ChoosingDialog)&lt;/br&gt;
`R` --&gt; `[LabVIEW Build-in]` `[Ctrl]` Remove And Rewire&lt;/br&gt;
`S` --&gt; `[Ctrl]` State Machine from Enum&lt;/br&gt;
`T` --&gt; `[LabVIEW Build-in]` `[Ctrl]` `[Shift]` Move Labels&lt;/br&gt;
`U` --&gt; `[Ctrl]` `[Shift]` Cluster Auto-Sizing&lt;/br&gt;
`V` --&gt; _Reserved_&lt;/br&gt;
`W` --&gt; `[LabVIEW Build-in]` `[Ctrl]` `[Shift]` Wire Multiple Objects Together&lt;/br&gt;
`X` --&gt; _Reserved_&lt;/br&gt;
`Y` --&gt; _Reserved_&lt;/br&gt;
`Z` --&gt; _Reserved_&lt;/br&gt;

## LabVIEW Built-in QuickDrops

### Insert

Inserts the object specified by name in the Quick Drop dialog box on the selected wire(s) on the diagram. If [Shift] is also pressed, and multiple wires were selected, a single instance of the object is inserted on those wires.

```
Default Shortcut - [I]
Default Shortcut - [Shift][I]
```

### Replace

Replaces the selected panel or diagram object(s) with the object specified by name in the Quick Drop dialog box.

```
Default Shortcut - [P]
```

### Remove And Rewire

Removes the selected block diagram object(s) and any wires and constants connected to the selected object(s), and connects wires of identical data types that were wired to the inputs and outputs of the deleted object(s).

```
Default Shortcut - [R]
```

### Wire Multiple Objects Together

Connects compatible terminals between multiple selected diagram objects. This shortcut will wire compatible data types between the objects in a left-to-right fashion. If [Shift] is also pressed, LabVIEW will perform a diagram cleanup of the selected objects after wiring them together.

```
Default Shortcut - [W]
Default Shortcut - [Shift][W]
```

### Wire All Terminals

Creates controls and indicators for all unwired inputs and outputs of the selected block diagram object(s). If 'shift' is also pressed, creates constants for all unwired inputs of the selected block diagram object(s).

```
Default Shortcut - [D]
```

### Move Labels

Repositions the visible labels or captions of top-level front panel and block diagram objects to be consistent with the "Default label position" settings in Tools &gt; Options. If [Shift] is also pressed, then all objects, including nested objects, are modified. If this shortcut is activated from the front panel, then controls and indicators are modified. If it is activated from the block diagram, then control and indicator terminals are modified. If panel or diagram objects were already selected when this shortcut is activated, only the selected objects that have visible labels or captions are modified.

The text justification of the modified labels and captions is also modified to be consistent with the new label or caption position.

```
Default Shortcut - [T]
Default Shortcut - [Shift][T]
```


## QD_NEVSTOP

### NEVSTOP QD Shortcuts(Choosing Dialog)

NEVSTOP Quickdrops. Using a choosing dialog for quick QD selection.

```
Default Shortcut - [Q]
```

### Control Operation

- `Reset Origin` : Resets the origin for all panes or the block diagram.
- `Hide Controls`/`Show Controls`
- `Enable Controls`/`Disble Controls`/`Disable&amp;Grayout Controls`
- `Copy Boolean Caption to Boolean Text` : Copy selected boolean's caption to boolean text. If the booleans have no caption, label Text will be used instead.
- `Toggle Digital Increment Decrement Visible ( Swithc Show Or Hide ).vi`

### Clone Controls

This Quick Drop Keyboard Shortcut will clone the selected Control(s) or Indicator(s) on the Front Panel but changes Controls to Indicators and vice versa. In addition, if found on the Connector Pane, it will attempt to place the newly created control on the opposite (left / right) side of the Connector Pane.

It was developed to automate the task where, for example, you have a File Ref (in) control, and you want to wire it through the other side of the ConPane.

Note: This script only supports the following patterns: 4x2x2x4, 5x3x3x5, 6x4x4x6, and 8x6x6x8

### Erease Data(Clear Data)

Clear control/Constant's data. Clear Array QD is replaced. Supported type:
- Array
- String
- Listbox
- MulticolumnListBox
- Numeric
- Table
- Tree

```
Default Shortcut - [E]
```

### Refresh Palette

After some chane of Control/Function Pallette, you can manually update the pallette with this quickdrop.

### Smart Open VI Location in Explorer Window

Publish with sub-QuickDrop:
- `Open Current VI's Location in Explorer Window`
- `Open Selected VI's Location in Explorer Window`
- `Open LabVIEW Program Folder`

When triggered on Front Panel:
Open Current VI's Location in Explorer Window.

When triggered on Block Diagram:
No SubVI is selected: Open Current VI's Location in Explorer Window.
SubVIs are selected: Open Selected VI's Location in Explorer Window.

```
Default Shortcut - [O]
```

### Align and Distribute

Align and Distribute slected controls/indicators/SubVIs. A pop-up dialog will be used for selecting the way you want.

```
Default Shortcut - [A]
```

### Cluster Auto-Sizing

Using a float dialog to choose cluster auto-sizing type. Press `Shift` to set the contained cluster items recursively.
- None
- Size to Fit
- Arrange Horizontally
- Arrange Vertically

```
Default Shortcut - [U]
Default Shortcut - [Shift][U]
```

### Build Array of References/Build Cluster of References

Create references with 'Build Array'/'buddle' together.

```
Default Shortcut - [B]
```

### Remove Unused Terminals on Nodes

Help users select Bundler nodes, Unbundler nodes and Property nodes to remove unused terminals.

Works for:
- Bundle By Name (Bundler &gt; NamedBundler)
- Build Array (Bundler &gt; BuildArray)
- Concatenate Strings (Bundler)
- Bundle (Bundler)
- Merge Errors (Bundler)
- Unbundle By Name (Unbundler &gt; NamedUnbundler)
- Property Node (ObjectFunction &gt; Property)

```
Default Shortcut - [Y]
```

## 3r Party QuickDrops

### Arrange VI Window

**link**:[Quick Drop Keyboard Shortcut �C Arrange VI Window](https://forums.ni.com/t5/Quick-Drop-Enthusiasts/Quick-Drop-Keyboard-Shortcut-Arrange-VI-Window/gpm-p/3867352?profile.language=zh-CN)
**Author**:Kosta

When used on the front panel:
-Arranges controls and indicators to be consistent with the connector pane arrangement.
-Resizes and moves the front panel to a consistent top left location on the primary monitor.

When used on the block diagram:
-Scrolls the block diagram to a reasonable location relative to the top-most and/or left-most diagram object.
-Resizes and moves the block diagram to a consistent top left location on the primary monitor.

```
Default Shortcut - [F]
```

### While Loop Subdiagram Label

Takes the text in the Quick Drop box and applies it as a subdiagram label to a While Loop, and formats the subdiagram label to have white, bold text, with the while loop's gray background color.

```
Default Shortcut - NaN
```

### Create a Place VI Contents

**link**: [Create a Place VI Contents](https://decibel.ni.com/content/docs/DOC-12725)
**Author**:Jarrod S


(Note: The following shortcut was originally posted by Jarrod S. on the NI Forums here. I decided to give his shortcut a more permanent home in the Quick Drop Enthusiasts group.)

This Quick Drop Keyboard Shortcut allows you to create a Place VI Contents VI (formerly called a "Merge VI") of your diagram selection and automatically create a user.lib palette entry for it, so that you can easily drop that selection of code in the future. Follow these steps to use this shortcut:

Save the attached VI in your &lt;LabVIEW&gt;\resource\dialog\QuickDrop\plugins folder. No LabVIEW restart is required.
Select something on your diagram that you wish to make into a Place VI Contents VI.
Press Ctrl-Space-Ctrl-Shift-G.
Specify a name for this Place VI Contents VI.
Create an icon

Now you have a Place VI Contents VI that contains this diagram selection that you can use from your palettes (or Quick Drop). Note that in step (3) above, if you had pressed Ctrl-Space-Ctrl-G instead, the palettes would not be refreshed automatically, and you would have to restart LabVIEW in order to use the new Place VI Contents VI.

Note: All Place VI Contents VIs that are created with this shortcut are stored in &lt;LabVIEW Data&gt;\QuickDrop Templates. The actual .mnu files that provide the palette entries are stored in &lt;LabVIEW&gt;\user.lib\QuickDrop Templates Palette.mnu.

```
Default Shortcut - [G]
Default Shortcut - [Shift][G]
```

### State Machine from Enum

**link**: [QDKS - State Machine from Enum](https://forums.ni.com/t5/Quick-Drop-Enthusiasts/QDKS-State-Machine-from-Enum/gpm-p/3524404?profile.language=zh-CN)
**Author**:Eric M.

I am kind of emo to post my first QD here. I figured this one would be of use for quite a bunch of developers.

Goal :
Pretty much everyone uses state machines as this is a rather basic but efficient design pattern that can be mixed together with others DPs. Whichever the platform (RT, FPGA, Win), an application will most likely include a state machine (or more!).

First thing : create the enum that will describe the states of the machine. Yeah well, with this QDKS, that's roughly the only thing you will need to do.

How-To :
- Copy the attached QD VI to the usual directory.
- Configure its key (S is fine !)
- Select an enum terminal or constant in your BD. Make sure there is some free space at the right of the enum.
- Ctrl+Space Ctrl+Key. You've earned a state machine corresponding to the enum items.

```
Default Shortcut - [S]
```
</Description>
- [MGI Libraries](https://www.vipm.io/package/mgi_lib_mgi_library/)</Description>
<Copyright/>
<Packager>NEVSTOP</Packager>
<URL>https://github.com/NEVSTOP-LAB</URL>
<Release_Notes>Publish to vipm.io</Release_Notes>
<Release_Notes>create wiki for all included quick drops. link: https://github.com/NEVSTOP-LAB/LabVIEW-QuickDrops-Manager/wiki</Release_Notes>
</Description>
<Destinations>
<Toolkit_VIs>
Expand Down
Loading

0 comments on commit a71cb17

Please sign in to comment.