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: 

swapping 5 bits randomly

I am trying to swap 5 bits randomly.....with the condition where the most significant bit will be remain the same.
Can anyone assist me? Thanks.
0 Kudos
Message 1 of 3
(2,168 Views)
Hello.

Perhaps the attached VI can get you started. Of course, you would need to add more cases for the other ways in which the 4 least-significant bits can be swapped.

Alejandro
0 Kudos
Message 2 of 3
(2,157 Views)
Hello.

Perhaps the attached VI can get you started. Of course, you would need to add more cases for the other ways in which the 4 least-significant bits can be swapped.

Alejandro
0 Kudos
Message 3 of 3
(2,156 Views)