08-12-2014 08:49 AM
One more thing If I want to convert boolean array back to decimal in the attached VI? Can any body guide me how to do it?
08-12-2014 09:03 AM
Boolean Array To Number. It is right next the the Number To Boolean Array and in the same palette as the Boolean To (0,1).
08-12-2014 09:29 AM
I already did this myself but it gives only one decimal number in the output. But I want to get all the decimal numbers one after the other. Since there are more than one decimal no.s in the input of number to boolean part.
08-12-2014 09:35 AM
@josephkirmani wrote:
I already did this myself but it gives only one decimal number in the output. But I want to get all the decimal numbers one after the other. Since there are more than one decimal no.s in the input of number to boolean part.
Looking at the code again...What's wrong with the Reed Solomon Encoder Output? Isn't that data what you are looking for?
08-12-2014 10:01 AM
There is nothing wrong in the above VI. It is correct, but I want to make some modifications in it.
I want to convert boolean array back to number and want to get same result as i am getting at the "Reed Solomon Encoder Output" in the above attached VI.
08-12-2014 10:12 AM
In that case, you will need to use Reshape Array to turn the Boolean Array into a 2D array of Booleans. The number of columns will be 32 and you will need to calculate the number of rows. Then use the Boolean Array To Number (may need to be in a FOR loop).
08-12-2014 10:27 AM
I tried but it is not working, probably i am making some mistake. Can you plz guide me what is the mistake? (see attached screen shot)
08-12-2014 10:55 AM - edited 08-12-2014 10:55 AM
You need to tell the Reshape Array the dimension sizes...
08-12-2014 11:09 AM
Still not working. I am going to attach my file below. Please look and guide me.
08-12-2014 11:12 AM
Where in my example did I use the Remainder output of the Quotient & Remainder. Look closely at the code I gave you and the code you wrote. And think about what you are trying to do and what each function does.