Achilleas Anastasopoulos | 1 Nov 00:19 2014
Picon

xmlrpc and threading

I have an application that uses two probes/function_probe blocks
and an xmlrpc client.
Most of the times I see that the two threads are crushing, I guess making concurrent requests to the SimpleXMLRPCServer.

I googled it and I found that the SimpleXMLRPCServer cannot by default handle these cases, but if it is derived by the "*MixIn" classes you can handle concurrent requests.

Is there something obvious and simple that needs to be changed in the xmlrpc_server.xml block?

thanks
Achilleas

===============

Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "./cdma_rx1.py", line 213, in _Esest_probe
    self.set_Esest(val)
  File "./cdma_rx1.py", line 280, in set_Esest
    self.set_EsN0dB_est(10*numpy.log10(  cp.epsilon + abs(self.Esest)/ (abs(self.N0est)+cp.epsilon)  )   )
  File "./cdma_rx1.py", line 296, in set_EsN0dB_est
    self.set_DataEsN0dB_est(self.EsN0dB_est + 10*numpy.log10( 1.0-self.training_percent/100.0 ) )
  File "./cdma_rx1.py", line 329, in set_DataEsN0dB_est
    self.set_appr_tcm_type(2 if (self.DataEsN0dB_est<=15.0) else (1 if (self.DataEsN0dB_est<=20.0) else 0))
  File "./cdma_rx1.py", line 455, in set_appr_tcm_type
    self.xmlrpc_client_0.set_tcm_type_selector(self.appr_tcm_type)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1289, in single_request
    self.send_request(h, handler, request_body)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1391, in send_request
    connection.putrequest("POST", handler, skip_accept_encoding=True)
  File "/usr/lib64/python2.7/httplib.py", line 871, in putrequest
    raise CannotSendRequest()
CannotSendRequest

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "./cdma_rx1.py", line 201, in _N0est_probe
    self.set_N0est(val)
  File "./cdma_rx1.py", line 273, in set_N0est
    self.set_EsN0dB_est(10*numpy.log10(  cp.epsilon + abs(self.Esest)/ (abs(self.N0est)+cp.epsilon)  )   )
  File "./cdma_rx1.py", line 296, in set_EsN0dB_est
    self.set_DataEsN0dB_est(self.EsN0dB_est + 10*numpy.log10( 1.0-self.training_percent/100.0 ) )
  File "./cdma_rx1.py", line 329, in set_DataEsN0dB_est
    self.set_appr_tcm_type(2 if (self.DataEsN0dB_est<=15.0) else (1 if (self.DataEsN0dB_est<=20.0) else 0))
  File "./cdma_rx1.py", line 455, in set_appr_tcm_type
    self.xmlrpc_client_0.set_tcm_type_selector(self.appr_tcm_type)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1294, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib64/python2.7/httplib.py", line 1033, in getresponse
    raise ResponseNotReady()
ResponseNotReady

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Daniel Batista | 31 Oct 23:16 2014
Picon

PSK Demod block

Hi,
do you know if the default PSK Demodulation block does any frecuency correction or time recovery?
After running some tests, I have noticed that when I use a Channel Model between  PSK mod and PSK demod, I successfully decode my data even I have a small frecuency offset or time offset (Epsilon)!
 
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Daniel Batista | 31 Oct 22:42 2014
Picon

FunCube Dongle pro +

Hi,
I have installed GNU Radio Companion 3.7.5 and the gr-fcdproplus from  dl1ksv/gr-fcdproplus (GitHub).
By simpy connecting the fcdproplus block with an fft sink I receive the following error:
File "/home/duthsat/top_block.py", line 15, in <module>
    import fcdproplus
  File "/usr/local/lib/python2.7/dist-packages/fcdproplus/__init__.py", line 45, in <module>
    from fcdproplus_swig import *
  File "/usr/local/lib/python2.7/dist-packages/fcdproplus/fcdproplus_swig.py", line 26, in <module>
    _fcdproplus_swig = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/fcdp roplus/fcdproplus_swig.py", line 22, in swig_import_helper
    _mod = imp.load_module('_fcdproplus_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-fcdproplus.so.0: undefined symbol: udev_enumerate_new

 What I'm doing wrong? version 3.7.5 is it compatible with the dl1ksv/gr-fcdproplus?
Thank you in advance for your help!
 
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Picon

UHD: usrp modules

Hi,

I've installed the GNURadio & UHD correctly. However, I can't use my USRP because I don't have installed the UHD module in my tree of modules of the Gnuradio 3.6.5.1

But I can see in the path of the file system where GNUR is installed the folder named gr-uhd where are all the files related to all the block of this modules (usrp_sink    usrp_source )

Could you give me some help ?

Thanks!

Regards, 


Fernando L. Rodríguez Brizuela -

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Lucas Lopez | 31 Oct 17:26 2014
Picon

ERRO RATE problem

 i was working in BPSK mod/demod and i'd like to see the BER performance. i used the BER ERROR RATE block, connecting in the input 1: random source and imput 2: output of the decodec. The problem is that the error always is 0.5 and the source noise (connected in the mod,) doesn't affect it. 
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Picon

MakeEttusSDCard.sh


regards, where I find the script MakeEttusSDCard.sh


 
Thanks

 
Julio H.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Michael Rahaim | 30 Oct 16:13 2014

QT GUI Segmentation Fault

Hi all,

I recently installed GNURadio on two laptops (installation via PYBOMBs) and everything has been running fine for a few weeks; but I'm suddenly running into issues with QT GUI on one of the laptops. I wasn't sure what the issue was originally, but after narrowing it down I'm able to see the problem with a simple flow graph:

signal source -> throttle -> QT GUI Sink

Starting with a blank slate in GRC and building the flow graph works fine on one device; but the same flow graph on the second laptop opens and closes immediately with return code -11. If I run the python code outside of GRC, I get the segmentation fault.

I was looking for a solution and I came across bug 645 (http://gnuradio.org/redmine/issues/645) that was resolved in 3.7.3, but these laptops have 3.7.6 (git-133-gd814810) installed.

I noticed that the bug report mentions the avx volk kernel as the issue and both of my machines indicate that they're using volk machine avx_64_mmx. I also ran volk_profile and changed "volk_32fc_32f_multiply_32fc a_avx generic" to "volk_32fc_32f_multiply_32fc generic generic" as indicated in the bug report, but I still see the problem.

To be honest, I don't really know how the volk library works and I'm not sure what else I should try changing. If anybody has suggestions, it would be greatly appreciated.

Thanks in advance,

-Mike
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Ryan Marlow | 30 Oct 20:04 2014
Picon

All ist klar, Herr Kommisar

I've seen this comment for a while now in flowgraph.cc and most of the time chose to ignore it. Today I saw it and decided to do a quick google search to see what I could find.
https://www.youtube.com/watch?v=6GmkjnL4EYw
What??? Why???
Funny "easter egg" to say the least...
Best,
Ryan

--
Ryan L. Marlow
Research Assistant in CCM Lab
Virginia Polytechnic Institute and State University
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Zhang, Jiayi | 30 Oct 20:34 2014
Picon

Software Compatibility among USRP2, N and X Series

Dear all,

I found most existed projects were based on USRP2 and some current on-going project are using N200/210. It seems to me that both of these two models have similar hardware specification, but USRP2 is out of market, isn't it?

If a GNURadio based software packages was developed for USRP2, does it also works compatible with N200/210? How about the X300/310 model? 

Additionally, are there any other hardware compatibility issues among these products?

Many thanks in advance.

Best regards,
Jiayi

-----------------------------------------------------------------------------
Jiayi Zhang (Vincent)                  PhD, MIEEE 

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Richard Bell | 30 Oct 22:54 2014
Picon

Installing UHD and GNU Radio

Hello,

Over the past few days, I've learned a lot about installing UHD and GNU Radio on Ubuntu. I'm a Windows user new to Linux, so there were a lot of growing pains. I made a guide for people like me out there getting into GNU Radio and Linux for the first time. I tried to document every single step I had to take, no matter how "obvious" it might have been.

I hope someone will find this useful. Attached.

v/r,
Rich
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio <at> gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Andre Puschmann | 30 Oct 09:49 2014
Picon
Picon

Guest researcher position

Hi,

this is an offer that Dr. Hamid Gharavi of NIST asked me to distribute
among SDR folks.

Hamid offers research scholarships for people with experience in
software defined networking and radio to participate in the development
of an USRP-based CPS smart grid testbed.

Please find Hamid's job description below.

Cheers
Andre

Original message from Hamid:

*Guest Researcher Position*

*Project: Wireless Sensor Networks Using Software Defined radio for
Smart Grid Applications*

*Position: Guest Researcher*

*Period: Up to two years (one-year initially)*

*Visa: J1*

*Degree: M.S. or Ph.D. in control, communication, and/or computer
engineering*

*Salary: US$ 3500/month (with M.S), $4,000/month (with Ph.D.)*

*Requirement: Software programming skills in Unix/Linux environments
with C and C++, GTK*

*Organization: National Institute of Standards & technology (NIST), US
Department of Commerce.*

*Location: Gaithersburg, Maryland*

*Advanced Network Technology Division*

* *

*Contact: *

*Dr. Hamid Gharavi*

*Tel: (301) 9753634*

*Email: **Gharavi <at> nist.gov* <mailto:Gharavi <at> nist.gov>

Gmane