07-22-2014 08:37 AM
Can any body guide me, how to convert the output of Reed Solomon Symbol Encoder from decomal to binary. See attached file for details.
I would really much appreciate any help in this regard
best
JK
Solved! Go to Solution.
07-23-2014 12:16 AM
I am on my phone so I can't look at your VI, but RS encoding is for error correction right? What do you mean by wanting to convert the encoder output from decimal to binary?
Mike...
07-23-2014 03:47 PM
I'm assuming that the output you are getting are numeric, say arrays of U32. Do you just want to look at the binary representation, or actually translate it into an "array of bits"? For the former, just right-click the indicator and change Display Format to Binary. For the latter, try the Number to Array function on the Boolean palette (it gives an array of Boolean, 32 elements for a U32).
Bob Schor
07-24-2014 08:47 AM - edited 07-24-2014 08:48 AM
Dear Mike,
The output i am getting is in decimal format. But I need to convert it to array of bits in binary.
07-24-2014 08:49 AM
Dear Bob,
Your second option is not working. I want to convert the output of RS encoder in to array of bits (binary).
07-24-2014 09:22 AM - edited 07-24-2014 09:22 AM
Try something like this:
This is what Bob was talking about...
Mike...
07-24-2014 10:53 AM
Dear Mike,
this solution is not giving me the desire result. I want to get the binary equivalent of the decimal no. generated by the encoder. But what I am getting is shown in the picture below:
As you can only for the Left most digit "3" it gives the right output.
07-24-2014 10:57 AM
What data type is the RS Encoder outputting? I'm guessing it is U32, which means you are getting what you should. Notice that the loner TRUE is the 33rd element. So you have 32 bits to represent a 3.
07-24-2014 11:31 AM
thank you for the guidance.
07-25-2014 07:35 PM
It's like they say,
"There's only 10 kinds of people in the world. Those that understand binary and those that don't..."
Mike...