03-31-2014 09:20 AM
Did anyone manage to use the MT UnPack Bits vi successfully? I created this very simple vi (attached to this post) to test it but I don't get any result in the output bit stream. Can anyone help me?
Thank you!
04-01-2014 11:48 AM
Hi,
I think your problem is to understand how it works.
Input integer: Array of numbers that you want to convert to binary.
Bits per integer: Amount of binary bits you want to represent of each number of the array.
Packed bit order: First the MSB or LSB bit.
Integer format: If you want introduce the sign on the binary conversion.
Output bit stream: Array of binary number, located as the input integer:
Example:
Input integer: [ 2 , 3 , 0]
Bits per integer: 3
Output bit stream: [ 0 , 1 , 0 , 0 , 1 , 1 , 0 , 0 , 0 ]
2=010
3=011
0=000
Regards.