discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] CDMA


From: Achilleas Anastasopoulos
Subject: Re: [Discuss-gnuradio] CDMA
Date: Mon, 28 Sep 2015 15:07:23 -0400

Clearly, you have an issue with importing the cdma module into python.

Can you tell me what is the value of the variable  "prefix" in your cdma_parameters.py file?
(you can find it in gr-cdma/python/ directory)

Achilleas



On Mon, Sep 28, 2015 at 2:47 PM, alfred noble <address@hidden> wrote:
Thanks 
I opened the terminal in gr-cdma folder and ran the following command 
"python"
after that I ran this :
"from cdma import cdma_parameters as cp"
as you told me , 
I received this ,
 
 CDMA PARAMETERS : for adaptive modulation
bits_per_header= 36
symbols_per_header= 36


Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/cdma/__init__.py", line 34, in <module>
    import cdma_parameters
  File "/usr/local/lib/python2.7/dist-packages/cdma/cdma_parameters.py", line 122, in <module>
    bits_per_coded_symbol=[int(math.log(trellis.fsm(fsm[i]).O(),2)) for i in range(len(payload_mod))]
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/trellis/trellis_swig.py", line 471, in __init__
    this = _trellis_swig.new_fsm(*args)
RuntimeError: fsm::fsm(const char *name): file open error

I really appreciate your help if could help me here once again 
thank you in advance 

Alfred   



reply via email to

[Prev in Thread] Current Thread [Next in Thread]