LabVIEW Idea Exchange

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

Default formatting for numerics

Status: New

The default formating for numerics is automatic with 6 significant digits and hide trailing zeros. I'm sure someone thinks this is a great format, however I would like the option to specify default numeric formatting through the ini file. It would be great if this could be applied to the default font for the numeric also.

3 Comments
AristosQueue (NI)
NI Employee (retired)

As a workaround until this gets enough Kudos to be implemented, you can create a custom control (not a typedef, just a plain custom control) that is a numeric with the formatting you desire, then put that control in your palettes. That would at least save you the time in the future, even if it doesn't help other LV  developers. This mechanism may actually be preferable to the adding a new feature to Tools >> Options since this allows you to create multiple numeric controls, each formatted for different requirements, which you may have (such as a string control already formatted for password display in addition to the regular string control, just to pick one example).

G-Money
NI Employee (retired)

Here is another idea that expands on this one a little bit more(http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Ability-to-change-default-format-settings-for-controls...). This other idea should be considered if this idea gets looked at by R&D.

FTI_Newton
Member

This is such a great idea, and not only applicable to numerics. BIG kudos. Both thumbs. 

 

 

BTW, I don't know if I'd put it as a checkmark in the R'CLICK properties dialogue, but in the Tools..Options menu selection.

IMO, Environment settings should be made in the environment settings 'place'.That way it's clear that was set as the default without having to go to an actual control or indicator. (Global settings made globally, not from an instance).

 

Or maybe both. Just an opinion.