LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How display 8-bit constant?

Solved!
Go to solution
I want to have an 8-bit constant in my block diagram for masking...the seed value is 01010101...however, labview clips the MSB 0.  I'm guessing its a setting?  Help please.
0 Kudos
Message 1 of 5
(3,881 Views)
This is goofy...why should it be this hard?  what if I want 00000000?
0 Kudos
Message 2 of 5
(3,868 Views)
Solution
Accepted by topic author KSU Flyer

It's a U8 numeric constant set for binary display?

 

Set the display format of that constant to use minimum field width, 8, and pad with zeroes on left.

Message 3 of 5
(3,866 Views)

KSU Flyer wrote:
This is goofy...why should it be this hardwhat if I want 00000000?

 

well 00000000=0 😉 But anyway right-click on the constant then select Display Format. Toy around with the settings like "Use minimum field width"


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 4 of 5
(3,857 Views)
Go to for "format and precision" and change it to %08b, it will work
AC
0 Kudos
Message 5 of 5
(3,839 Views)