Page 1 of 1

GNURADIO trx_dual_template socket problems

Posted: Mon Dec 07, 2015 11:21 am
by tor
Hi,
I tried to run two channel example for gnu radio in
red-pitaya-notes/projects/sdr_transceiver/gnuradio/trx_dual_template.grc.

I am interested in the two receiving devices.
The first channel with socket 1001 works fine.
However if I add the second channel with socket 1002 an error occurs:

File "/home/user/git/red-pitaya-notes/projects/sdr_transceiver/gnuradio/trx_dual_template.py", line 223, in <module>
tb = trx_dual_template()
File "/home/user/git/red-pitaya-notes/projects/sdr_transceiver/gnuradio/trx_dual_template.py", line 80, in __init__
corr=0
File "/home/user/git/red-pitaya-notes/projects/sdr_transceiver/gnuradio/red_pitaya.py", line 39, in __init__
self.ctrl_sock.connect((addr, port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Verbindungsaufbau abgelehnt

Do I have to activate the second channel manually? Or why can't I get data from the second device?

Best Regards
Hans

Re: GNURADIO trx_dual_template socket problems

Posted: Mon Dec 07, 2015 11:47 am
by pavel
Hi Hans,

Thanks for testing trx_dual_template.grc.

I've also found this problem a few days ago. Looks like I introduced it in the latest version when I added a higher sample rate.

I've fixed it in the following commit:
https://github.com/pavel-demin/red-pita ... 5eb8f6f271

However, I did not have time to test it and to upload the SD card image and the bazaar application.

If you're interested to test the latest version, I can send it to you.

Are you using the bazaar application or the customized SD card?

Best regards,

Pavel

Re: GNURADIO trx_dual_template socket problems

Posted: Mon Dec 07, 2015 12:04 pm
by tor
Hi Pavel,
thanks for the fast answere.
At the moment I am using the bazaar applications, but I will switch now.
I am quite unexperienced with this board, but only interested in the SDR application.

When do you plan to upload the fixed files regularly?

But I can also test the pre version.

Regards
Hans

Re: GNURADIO trx_dual_template socket problems

Posted: Mon Dec 07, 2015 2:23 pm
by pavel
I've just done some basic tests of the new version using SDR#. Both channels seem to work.

I've uploaded it to the application marketplace and I've also updated the SD card image.

Could you please check if trx_dual_template.grc works with this new version?