11-05-2008 02:11 PM
11-05-2008 09:49 PM
Hi,
1. I opened BCH_pru1.vi. It is not working because the input array is eempty.
2. Then I opened MT BCH Encode-Decode.vi It works fine. I get BER of 0. I looked at the bits and they are matching.
What do you mean when you say it is not working?
Sastry
11-06-2008 12:40 PM
Hi thanks for anwering.
Well I forgot to specify that the array should be filled with ones and zeors by the user. So, if it create a bit stream, the BCH encoder shows an error, and so the other example. Please coudl you chek it again?? Fill the array of BCH_prub1 with : 1101 or other it does not matter. And the other one won`t work, it shows an error, on the erro dialog box.
Thanks
11-06-2008 12:50 PM - edited 11-06-2008 12:51 PM
Hello,
I have done what you suggested and there is still no error in either VI.
Can you post the error that you are seeing? It would be helpful to actually know what we are looking for. Thanks!
Regards,
11-06-2008 12:53 PM
11-06-2008 12:55 PM
11-06-2008 09:27 PM
Hi,
-21890 error refers to incorrect code word length. That means, somehow it is not taking in 127 but some other value.
My guess : Have you recently gone into the block diagram of the VI and made some changes that you forgot to remove?
Otherwise it cannot give that error with 127, 85, 6
You may want to go into the BCH Encode VI, then further go into the subvi named mod_Compute BCH parameters.vi and check the values it is getting for n, k and t. You will have to make it normal priority from subroutine to be able to probe.
Alternately, you may want to save your BCH Encode VI and all its subvis into an llb and post it. We can see where it went wrong.
Sastry
11-07-2008 12:23 AM