LabVIEW Idea Exchange

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

Add modifier for resizable functions in Quick Drop

Status: Declined

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

When using quick drop and calling a resizable function such as Build Array, Concatenate Strings, any of the many Array functions, etc... allow a modifier to be read that would automatically resize the function to the appropriate number of inputs.

 

As an example if I want to drop an index array function  for a 2D array, I could use the quick drop string "Index Array-2"

 

Not specifying a modifier would result in only the base function being dropped.

The modifiers should also work with any custom shortcuts that the user defines such as "in-2" for "Index Array-2"

 

build array.PNG

Greg Sussman
Sr Business Manager A/D/G BU
6 Comments
gsussman
Active Participant

This idea could be extended to include the universal conversion bullet as well so typing something like "convert-dbl" would drop the appropriate conversion function.

 

Universal Conversion Bullet

Message Edited by gsussman on 04-16-2010 11:12 AM
Greg Sussman
Sr Business Manager A/D/G BU
AristosQueue (NI)
NI Employee (retired)

In the meantime, you can use this as a workaround:

Edit your palette set and add a VI that has a two element build array on the diagram. Set the item as a "Merge VI" (detailed instructions here). Then when you find that item in quick drop, you'll drop the preconfigured node.

You could add preconfigured versions for several different commonly used node sizes and for any other preconfigurations of nodes that you use frequently. 

gsussman
Active Participant

I did think about that option and I actually have a couple of code snippets that I do this with already but the modifier would be a much cleaner solution.

 

"In the meantime......"

 Should I take that to mean that this is something that R&D has already been thinking/thought about?

Greg Sussman
Sr Business Manager A/D/G BU
AristosQueue (NI)
NI Employee (retired)

> Should I take that to mean that this is something

> that R&D has already been thinking/thought about?

 

No. Just the discussion you see here. 🙂

Darren
Proven Zealot

In the meantime, Jarrod wrote a great Quick Drop keyboard shortcut that will automatically take your block diagram selection, turn it into a merge VI, and add it to the palettes:

 

Jarrod's Ctrl-G Quick Drop Keyboard Shortcut

 

-D

Darren
Proven Zealot
Status changed to: Declined

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