LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why is "x2^0" Displayed on Fixed point numbers in hex format

I have a requirement to display a fixed point value (unsigned 20bit value) in hex format. At present when I set the numeric indicator to display this I get a "x2^0" string attached to the end.

 

What is this and is there anyway of turning it off?

 

I am trying to give a display that replicated some old style hex mechanical switches, by selecting a fixed size font and limiting the display to only be big enough to display the five hex digits (minimum field length 5 with pad with zeros) I get almost what I want (the "X2^0" is hidden of right hand side)

 

However when I delete characters from the number (to say enter a new number) the "X2^0" part then shows. See attached jpg which shows the format string.

 

 

This is by no means a show stopper but just annoying, is there some where to turn this formatting string off?

 

Dave.

 

0 Kudos
Message 1 of 2
(2,325 Views)

It is showing how many of those bits are for the decimal places.  It is kind of important information.

 

But since you are dealing with an Unsigned Integer (20,20 means there is no fractional part), why not just use a U32.  You can set the display of the indicator for that to be %05x to just display the lower 5 hex characters.


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 2
(2,320 Views)