On Tue, Jan 5, 2016 at 7:56 AM, Ekko <chai18740449...@gmail.com> wrote:

> hello tom
> i replace the <fec extended encodec> with the <fec encoder>,just like
>
>



>
> and i am using the Dummy Encoder and Dummy Decoder
>
> but ,i got
> Traceback (most recent call last):
>   File "/home/cdl/gmsk_fec/gmsk_fec.py", line 236, in <module>
>     tb = gmsk_fec()
>   File "/home/cdl/gmsk_fec/gmsk_fec.py", line 83, in __init__
>     self.fec_generic_encoder_0 = fec.encoder(enc_dummy, gr.sizeof_char,
> gr.sizeof_char)
>   File "/usr/local/lib/python2.7/dist-packages/gnuradio/fec/fec_swig.py",
> line 894, in make
>     return _fec_swig.encoder_make(*args, **kwargs)
> TypeError: in method 'encoder_make', argument 1 of type
> 'gr::fec::generic_encoder::sptr'
>
>
> 2->i open the "ber_curve_gen.grc"
>
> but there is an error
>
 ​

You can find all of the FEC alist files installed into
$prefix/share/gnuradio/fec/ldpc. Use that to locate and set that file name
properly.

Tom





thank you
>
> --Ekko
> ​
>
> 2016-01-04 22:58 GMT+08:00 Tom Rondeau <t...@trondeau.com>:
>
>> On Tue, Dec 29, 2015 at 11:24 AM, Ekko <chai18740449...@gmail.com> wrote:
>>
>>> hello bob
>>> this problem have been solved,now my fec&gmsk is worked
>>> but i got a new problem
>>> this is my fec+gmsk grc
>>> http://i.imgur.com/ZH2qhh6.png
>>>
>>> and this is my gmsk without fec
>>> http://i.imgur.com/zJVskUX.png
>>>
>>> when i run these two grc,i got a similar value of ser
>>>
>>> i think that in the way of gmsk&fec,i will got a error rate value
>>>  smaller than the single gmsk,but i did not got it,
>>> so i think there is somethin wrong in my grc,hope someone who can help
>>> me to check my grc ,or give me sone instruction about the using of fec.
>>>
>>> thank you
>>>
>>> --Ekko
>>>
>>
>>
>> Ekko,
>>
>> It might be worth using the exact same graph for both tests but use the
>> Dummy Encoder and Dummy Decoder variables for the FEC codes. These are just
>> pass-through "codes" that allow you to easily use the same structure with
>> and without any actual coding.
>>
>> Also, you should run "ber_curve_gen.grc" that comes as an example with
>> gr-fec. This will give you an idea of what kind of BER correction you
>> should expect for the different codes.
>>
>> Tom
>>
>>
>>
>>
>>> 2015-12-29 13:15 GMT+08:00 bob wole <bnw...@gmail.com>:
>>>
>>>> Ekko,
>>>>
>>>> Add a Tag debug block after your packet encoder and see if there are
>>>> any tags coming out of it. I think packet encoder is not passing your tag.
>>>> If that is the case, move your stream to tagged stream block after the
>>>> packet encoder just before the FEC extended tagged encoder. Hope it helps.
>>>>
>>>>
>>>> --
>>>> Bob
>>>>
>>>>
>>>>>
>>>>> this is the address of picture
>>>>>
>>>>> http://imgur.com/2EQiY6O
>>>>>
>>>>> sorry to send two e-mails
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> Discuss-gnuradio@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>>
>>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to