ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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,634 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,623 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,622 Views)