07-21-2023 10:30 AM
Is there a way to set the default numeric properties? For instance, I pretty much always like my numeric controls, indicators, and constants to be shown with SI prefixes. I find it much easier to read when dealing with large or extremely small numbers. I'm sort of sick of constantly having to open the properties of every numeric I drop to display as type "SI Notation". I usually try to copy other numerics if there is one of the type I want readily available so that i can avoid the extra steps of opening the properties, but it would be nice to set this in options to just be able to quick drop "nc", "dc", ..., etc without having to manually go in and change the property every time I do drop one.
Is this an option I'm missing/cant find, or should I put this to the idea exchange?
Thanks
07-21-2023 10:35 AM
You can ctrl+click to select as many controls as you want, then go to properties and set the common format for all.
07-21-2023 10:41 AM - edited 07-21-2023 10:43 AM
@TheWolfmansBrother wrote:
Is there a way to set the default numeric properties? For instance, I pretty much always like my numeric controls, indicators, and constants to be shown with SI prefixes. I find it much easier to read when dealing with large or extremely small numbers. I'm sort of sick of constantly having to open the properties of every numeric I drop to display as type "SI Notation". I usually try to copy other numerics if there is one of the type I want readily available so that i can avoid the extra steps of opening the properties, but it would be nice to set this in options to just be able to quick drop "nc", "dc", ..., etc without having to manually go in and change the property every time I do drop one.
Is this an option I'm missing/cant find, or should I put this to the idea exchange?
Thanks
Are you expecting to select P (SI Notation), In that case you Make Radix Visible and Select SI Notation.
This should avoid accessing properties.
07-21-2023 10:49 AM - edited 07-21-2023 11:04 AM
I'm not sure where the default controls are stored, but you can always modify a control and save it somewhere then install it to a palette so you can use your customized ones instead of the defaults. VIPM makes it much easier to build a palette, so you could add a handful of your commonly used controls then stick em in a VIP that you can install to your computer.
Edit: Or you could make a quick-drop keyboard shortcut to change a control automagically after you place it.
07-21-2023 11:53 AM - edited 07-21-2023 11:58 AM
@BertMcMahan wrote:
I'm not sure where the default controls are stored, but you can always modify a control and save it somewhere then install it to a palette so you can use your customized ones instead of the defaults. VIPM makes it much easier to build a palette, so you could add a handful of your commonly used controls then stick em in a VIP that you can install to your computer.
Edit: Or you could make a quick-drop keyboard shortcut to change a control automagically after you place it.
I tried going down that rabbit hole once.....the one about changing the default controls themselves. The hooka smoke and fancy bottle labels sent me running away before the Jabberwock's snicker-snack was above a faint echo.
Strict typdef's on MyControls Pallet and / or a QD shortcut is the saner approach.
For bonus points. Add a custom probe using your new type def.
07-21-2023 12:36 PM
I'll look into making some custom QD items.
I don't necessarily want to go through and change every numeric after the fact since this is more for me while I'm creating, and adding things as I go, not adding them all at once. It isn't so much for operators later, though I would think they would also prefer reading something like 3.43n than 0.00000000343.
I don't care about the radix, not sure what that guy is talking about really, I know the radix is a P but turning on radix doesn't automatically set it SI notation, nor does it solve the issue of having to go into properties every time I add a new numeric.
07-23-2023 06:51 PM
Something like this could work. This will change all the numeric front panel controls to SI with the same precision, maybe a little to blunt as a tool? Use this as a helper VI and specify the path of the VI you want to change.
(I am not a Scripter, there is probably a better way.)
07-24-2023 07:29 AM
@BertMcMahan wrote:
Edit: Or you could make a quick-drop keyboard shortcut to change a control automagically after you place it.
I already did that: Format Numeric Quick Drop. One of those things I can't live without anymore since I use it seemingly constantly.
If using this tool, I just select all of the controls/indicators/constants I want to format, hit Ctrl+Space, type "SI" (without the quotes), and Ctrl+n. Suddenly all of selected items are in SI notation!
07-25-2023 05:48 PM
The only thing about SI units (for me) is that I can never remember how to type µ so I end up doing .001m instead.
07-25-2023 06:04 PM
@billko wrote:
The only thing about SI units (for me) is that I can never remember how to type µ so I end up doing .001m instead.
Alt+0181 gets you a µ, but the SI indicators in LabVIEW don't actually support µ's so you just type a regular "u". If you actually try to type a µ in the field then nothing happens.