LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hexadecimal display

When using a numeric box in hexadecimal format, I want to retain all the bits even if the MSB nibbles are 0. (ie display all 32 bits of an int even if the top bits are 0). Currently it truncates everything above the last '1'. Is there a way to do this ?

Thanks in advance for any help

Regards

Hubert Robitaille
0 Kudos
Message 1 of 3
(2,642 Views)
What is about to use string indicator?
You transform your number to hex-string and show it.
0 Kudos
Message 2 of 3
(2,642 Views)
Use "Format Into String" under 'STRINGS". For a format string I used
%032b , which gives me 32 bit binary, including leading 0s.

On Tue, 28 May 2002 02:44:41 -0700 (PDT), hrobitaille
wrote:

>When using a numeric box in hexadecimal format, I want to retain all
>the bits even if the MSB nibbles are 0. (ie display all 32 bits of an
>int even if the top bits are 0). Currently it truncates everything
>above the last '1'. Is there a way to do this ?
>
>Thanks in advance for any help
>
>Regards
>
> Hubert Robitaille
0 Kudos
Message 3 of 3
(2,642 Views)