04-20-2015 05:29 AM
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
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
04-20-2015 06:52 AM
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.
04-21-2015 12:31 PM
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.
04-22-2015 02:25 AM
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.
04-23-2015 01:03 PM
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>*
04-23-2015 01:15 PM
Bogdan_H wrote:
How can I unsubscribe from emails from certain group subscriptions?
05-11-2015 04:43 AM
Is there a possibility to post the shortcut in LV2013? Haven't migrated to 2014 yet...
05-11-2015 05:58 AM
Hi comrade. LV2013 version uploaded.
05-11-2015 08:19 AM
That was quick.
Unfortunately the down-save broke the execution arrow - "Clear Errors" seems to have added functionality in LV2014 - you specifically either clear Error 1057 or you exclude this error from being cleared in both of the subVIs.
Either way - I now just clear all errors that are thrown by "to more specific" and get on with it. Seems to work at a quick glance.
For your future implementations concerning arrays - as a temporary workaround, try "convert from,toArrays": Turn the elements into scalars using this shortcut, then change representation with your shortcut and change it back into an array. Should still be quicker than changing representation via right click menu, at least when doing it for more than one element at a time...
05-11-2015 08:29 AM
Nice one. Can you upload a V2 for LV2013?
I had a look at modifying the numeric representation of arrays and struggled to find a way to do it.
Using two shortcuts (as you suggest) is pretty quick but not as quick as using the right click shortcut menu.....maybe I will have another look this afternoon.