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,471 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,460 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,459 Views)