Quick Drop Enthusiasts

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Numeric Representation

This shortcut allows you to set the Numeric Representation of individual or multiple Block Diagram and/or Front Panels elements using Quick Drop.

To install

Unzip the attached into <LabVIEW>\resource\dialog\QuickDrop\plugins folder.

How to use

  1. Select Numeric Terminal(s) or Constant(s) on the FP or BD.
  2. Open quick drop (Ctrl+Space). 
  3. Type in the required Numeric Representation, as seen on the Numeric Representation right click shortcut menu in LabVIEW, into the Quick Drop dialog (e.g. U8), NOT case sensitive.
  4. Activate the shortcut, I have been using Ctrl+R.  
  5. Any controls, constants, or indicators that you selected and that can accept the new representation will be assigned that representation.  Other selected items will be ignored.

The VI is saved in 2014.  Testing: Limited.

Future Expansion

I would like to add the capability to modify the numeric representation of an array.

A big thank you to bienieck whose Wire Labelling VI formed the starting point for this VI.

Changes Since First Release

Various Bug Fixes

Modified to work with all types of Numerics not just Digitals

Array Numeric Represenetation setting capability added

Cluster and Cluster Element Numeric Representation setting capability added

Message 1 of 15
(9,322 Views)

R might be a bad choice since that is the default for the built-in Remove.  Still, something to play around with.  This could be quite useful.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 15
(7,274 Views)

Very cool plugin! I noticed that you say above that it works on controls on the front panel, but the code in ModifyReferencesNumericRepresentations.vi only appears to work on Control Terminals and Constants on the diagram.

0 Kudos
Message 3 of 15
(7,274 Views)

ModifyReferencesNumericRepresentations.vi should be called twice, once with a list of BD selected items and once with a list of FP selected items.

There is a bug in that this shortcut will only begin modifying representations via the front panel once at least one representation has been modified via the Block Diagram. (?????).

Darren's comment is making more sense now.  My understanding of how an item gets into the SelList[] was flawed.  Understanding and Shortcut corrected Version 2 attached.

0 Kudos
Message 4 of 15
(7,274 Views)

Hi,

How can I unsubscribe from emails from certain group subscriptions?

Regards,

Bogdan Haiducu

*National Instruments *| District Engineer | 408.475.7130 | *LinkedIn

<http://www.linkedin.com/in/bogdanhaiducu>*

0 Kudos
Message 5 of 15
(7,274 Views)

Bogdan_H wrote:


                       

How can I unsubscribe from emails from certain group subscriptions?


                   

Capture.PNG