04-16-2018 06:36 AM
Do LabVIEW datatypes like Binary, Hexadecimal, and Octal. show leading zeros in the numeric control if needed?
04-16-2018 07:00 AM
You're mixing a few terms here.
Datatypes are for instance Strings, Booleans, Integers, Arrays, Clusters.
You're asking about the visualization of values. And yes, you can configure the visualization (for constants, controls and indicators) to show leading zero's. Right click, select either properties or Display Format, and tag the Use Minimum Field Width. Select the then enabled "Pad with zeros from the left" option. And set the width to something more then 0.
04-16-2018 01:23 PM
Expanding slightly on Wiebe's post, Binary, Hexadecimal, and Octal are all types of Integers. LabVIEW has 8 Integer types -- 8, 16, 32, and 64 bit, both Signed and Unsigned. The values remain "numbers", but their representation in the Front Panel Controls or Indicators can be set by changing the relevant properties (including whether to display as Binary, Hex, Octal, or Decimal, how many digits to display, and how to "pad" small digits).
Bob Schor