From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

split the characters based on the length

Solved!
Go to solution

@OATTelecom wrote:

how to set the display format of the U8 array to binary, 8 digits, pad with zeroes.


 

 

Make sure to select the array element, not the array container. 😄

0 Kudos
Message 11 of 14
(865 Views)

Thank you , but I want to use bit for encoding 

ex.

String "Hello"  => change to binary bit ("10110010" "....." "....." ...) then  split each binary to encoding.

0 Kudos
Message 12 of 14
(853 Views)

@OATTelecom wrote:
then  split each binary to encoding.

What exactly do you mean by that?

 

Jeff's and Altenbach's examples have given what you asked for.  If this isn't what you actually want, then please be more precise in explaining what you want your end result to be.  Even include a VI that contains the data saved in a data type that matches what you are looking for.

0 Kudos
Message 13 of 14
(846 Views)

If you want the bits as an array of booleans, use "number to boolean array".

0 Kudos
Message 14 of 14
(840 Views)