|Subject:||Re: [Discuss-gnuradio] gr-cdma|
|Date:||Tue, 20 Jan 2015 17:55:18 +0000 (UTC)|
Ok thanks. And It's the last sentence in the gr-cdma readme
Sent from Yahoo Mail for iPhoneAt Jan 19, 2015, 1:59:13 AM, Achilleas Anastasopoulos<'address@hidden'> wrote:AchilleasThe separate files cdma_tx and cdma_rx can be used withdon't want to (or cannot) transmit through real hardware.Indeed, the cdma_txrx is a simulation of the entire tx/rx.We used it to test our system and everyone can use it if they
Finally, I don't recall where I discuss about the concept of a FIFO?On Mon, Jan 19, 2015 at 12:30 AM, Frank Pinto <address@hidden> wrote:I will try the GDB tomorrow and let you know the output response.One more question. Is the "cdma_txrx.grc" just for packet transmission with no hardware attached, while the cdma_tx.grc and cdma_rx.grc are used for real live cdma transmission with hardware (ex: USRP's)?And I don't really understand the concept of fifo. I jus know it stands for first in first out.On Friday, January 16, 2015 3:01 PM, Achilleas Anastasopoulos <address@hidden> wrote:
bestFor now, you should be able to experiment with the txrx, tx, rx.You shouldn't worry about these files for now.which you cannot do unless some recent updates are merged into gnuradio master.
In any case they refer to "adaptive modulation"
AchilleasOn Fri, Jan 16, 2015 at 2:14 PM, Frank Pinto <address@hidden> wrote:All the blocks were able to load, compile and show on the GRC blocks list except from the "cdma_tx_hier1" and "cdma_rx_hier1" block (they are producing errors and are few of their blocks are marked red because of this). Then the "cdma_txrx1" block is producing a error because it needs the "cdma_tx_hier1" and "cdma_rx_hier1" block in order to compile.On Friday, January 16, 2015 1:34 PM, Achilleas Anastasopoulos <address@hidden> wrote:
yes, please disregard all previous changes.
They have been incorporated in the updated files.So, please pull a clean copy from github.AchilleasOn Fri, Jan 16, 2015 at 1:32 PM, Frank Pinto <address@hidden> wrote:Hello Achilleas, thank you I will do that! When I perform this edit in the python file should I disregard the changes we did yesterday in th cdma_parameters.py file line 124 which was changing the "digital_constellation_8psk_natural" with "digital.constellation_8psk" and keep the orginal code?On Friday, January 16, 2015 1:23 PM, Achilleas Anastasopoulos <address@hidden> wrote:
AchilleasThis should now give no errors.>>> from cdma import cdma_parametersOnce you do that, open a python session and do(see updated README file) before you install it.You have to make a small edit in the cdma_parameters.py fileFrank,please pull the latest version of gr-cdma.
Let us know of your progress.On Thu, Jan 15, 2015 at 6:24 PM, Frank Pinto <address@hidden> wrote:I have applied the change, now the error reads: AttributeError: 'module' object has no attribute 'constellation_16qam'On Thursday, January 15, 2015 3:37 PM, Achilleas Anastasopoulos <address@hidden> wrote:
In particular in line 124 change "digital.constellation_8psk_natural" with "digital.constellation_8psk".cdma_parameters.pyplease go to your gr-cdma/python directoryconstellation.SO the constellation module does not have yet the "constellation_8psk_natural"OK, great.This is due to the fact a recent pull request has not yet been merged into gnuradio.
There is a simple fix to that:
and edit the fileNow you have to make, sudo make install, sudo ldconfig one more time.Once you do that, please open a python session and redo
>>> from cdma import cdma_parameters as cpand let us know what you get.(if you don't get any errors you are ready to go!)AchilleasOn Thu, Jan 15, 2015 at 1:25 PM, Frank Pinto <address@hidden> wrote:The result is:Traceback (most recent call last):
File " ", line 1, in
File "/usr/local/lib/python2.7/dist-packages/cdma/__init__.py", line 34, in
File "/usr/local/lib/python2.7/dist-packages/cdma/cdma_parameters.py", line 124, in
payload_mod = [digital.constellation_qpsk(),digital.constellation_8psk_natural(),digital.constellation_16qam()]
AttributeError: 'module' object has no attribute 'constellation_8psk_natural'On Thursday, January 15, 2015 1:14 PM, Achilleas Anastasopoulos <address@hidden> wrote:
AchilleasWhat is the result of this?Frank,Open a python session and write
Please do the following and report to us what you get.
>>> from cdma import cdma_parameters as cpOn Thu, Jan 15, 2015 at 12:12 PM, Frank Pinto <address@hidden> wrote:
Hello Sir, I just tried that and the first the hier block "amp_var_est_hier.grc gets compiled with no issues.However the others are producing errors in certain blocks and can therefore not compile. The error states "name 'cp' is not defined.And the import box is showing this error "Bad import syntax:import cdma.cdma_parameters as cp". This is where I am stuck at because it seems all the other blocks that are producing errors has this 'cp' in it somehow.At Jan 15, 2015, 11:57:05 AM, Achilleas Anastasopoulos<'address@hidden'> wrote:reloadcompile it as beforeReload it (this little circle button on GRC)Frank,Compile it (this little button on GRC that looks like a pyramid, a sphere and an arrow)
you have to follow the procedure in README by compiling ONE file at a time,
and RELOADING the blocks as you go on, ie,
Load the hier block "amp_var_est_hier.grc",
"cdma_rx_hier.grc", "cdma_tx_hier1.grc", "cdma_rx_hier1.grc" and compile themAchilleasOn Thu, Jan 15, 2015 at 11:35 AM, Frank Pinto <address@hidden> wrote:
Hello Sir, I have read the readme.md file already. My first issue is where it states to "load all the hier blocks and compile them". When I loaded them via the GRC by clicking on "open an existing flowgraph" and selecting the files, I see that they all are missing some variables, information, and even blocks, and are shown as red.
I have taken a picture to show you this. I am using version 220.127.116.11 of GNuRadio by the way
Sent from Yahoo Mail for iPhoneAt Jan 15, 2015, 11:29:05 AM, Frank Pinto<'address@hidden'> wrote:Sir, I have read the readme.md file. My first issue is where it states load all the heir blocks and compile themOn Thursday, January 15, 2015 11:13 AM, Achilleas Anastasopoulos wrote:
There is no such instruction to be executed!
Please read the README.md file and let us know which one of the detailed instructions mentioned there you don't know how to execute.
AchillesOn Thu, Jan 15, 2015 at 10:52 AM, Frank Pinto <address@hidden> wrote:Ok. First instruction that I do not know how to execute is the import variable block that says "import coma.cdma_parameters as cp". What exactly am I supposed to be replacing in this section.On Wednesday, January 14, 2015 7:08 PM, Frank Pinto <address@hidden> wrote:
Ok. First instruction that I do not know how to execute is "import coma.cdma_parameters as cp". What exactly am I supposed to be replacing in this sectionOn Wednesday, January 14, 2015 6:54 PM, Achilleas Anastasopoulos <address@hidden> wrote:
Please follow the detailed instructions on the README.md file andbest
let us know which of these does not work for you
(or which of these instructions you don't know how to execute).
Discuss-gnuradio mailing list
|[Prev in Thread]||Current Thread||[Next in Thread]|