RF Measurement Devices

cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT!!!! BCH encoder

Please can anybody tell me why this little example does not work??? I cant find the error... and even the explame pre-established in Lbview 8.0 wont work!..... I have attached my simple probe and the example. I hope someone can help me, because I have done all I can..:(
Download All
Message 1 of 8
(8,627 Views)

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 

Sastry Vadlamani
RF Principal Software Engineer
Aerospace and Defence BU
National Instruments
Certified LabVIEW Architect
0 Kudos
Message 2 of 8
(8,619 Views)

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 

0 Kudos
Message 3 of 8
(8,604 Views)

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,

Message Edited by Speedy Badger on 11-06-2008 12:51 PM
Chris Behnke
Sr. RF Engineer
High Frequency Measurements
Download All
0 Kudos
Message 4 of 8
(8,602 Views)
please look at this image. I have just runned the VI. and this is what it shows me. Are my data allright??This is the BCH_Encoder-Decode.vi, I attached earlier. Thanks!
0 Kudos
Message 5 of 8
(8,600 Views)
That's weird. Could it be a problem with my Labview Software??? Im using Labview 8.0 it has the modulations toolkit?? What can i do now??? :(!!!! Not fair!!! Jajajajaja
0 Kudos
Message 6 of 8
(8,598 Views)

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 

Sastry Vadlamani
RF Principal Software Engineer
Aerospace and Defence BU
National Instruments
Certified LabVIEW Architect
0 Kudos
Message 7 of 8
(8,582 Views)
Which language Operating System are you using?
Sastry Vadlamani
RF Principal Software Engineer
Aerospace and Defence BU
National Instruments
Certified LabVIEW Architect
0 Kudos
Message 8 of 8
(8,575 Views)