Re: [Discuss-gnuradio] Autogenerate Code Function
Thank you Marcus! Vamsi Sent from my iPhone > On Jul 8, 2017, at 10:47, Marcus Müllerwrote: > > Hi Rich, > > I think the executable you're looking for is ´grcc´ :) > > Cheers, > Marcus > > >> On 08.07.2017 19:15, Richard Bell wrote: >> Hi all, >> >> I am in a situation where I have a grc flowgraph set to 'NoGUI' mode with no >> GUI blocks. I use this to auto-generate python code that is then called by >> other python code. >> >> One of the machines I'm working on does support GUIs, everything is through >> the terminal, so I can't open grc files. I would like to know how I >> programmatically call the 'Generate Code' button via the terminal or via a >> python script so I can auto-generate the python code from the NoGUI grc >> file. How would I do this? >> >> v/r, >> Rich >> >> >> ___ >> 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 ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Packet based system
Hi, Is there a way to existing block which sends out data only when packet arrives but keeps sending out nothing until then? I expected “PDU to tagged stream” block to work that way, but it seems like that block waits for input to fill to start sending out stream. I would like to build something like a packet based system where packet occurs only at certain times. Thanks in advance. Vamsi ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] New Module using gr_modtool Error
Hi, I tried the following solution, but it didn't work for me. Re: [Discuss-gnuradio] gr_modtool cmake/make problems on OSX | | | Re: [Discuss-gnuradio] gr_modtool cmake/make problems on OSX | | | I have tried the same on another macOS system with similar results.I have even installing gnuradio-devel macport, which gave the same error. ThanksVamsi On Sunday, 20 November 2016 3:17 PM, vamsi krishna <vamsi...@yahoo.com> wrote: Hi, I run into the attached error when I create a OOT module and installed it using the following commands. #gnuradio commands#inside gr directorymkdir buildcd build #the install prefix should be given as gnuradio was installed in that folder by MacPortscmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/local ../#to build all filessudo make #to build and install files into correct directory to be used by GRCsudo make install #To remove certain error for GNURadio companionexport PYTHONPATH=/opt/local/lib/python2.7/site-packages/ I do not have problem using existing blocks, but when I create a new (empty module without any code in work function) I'm running GNURadio on Mac installed using MacPortssudo port install gnuradio -universal There is a python error twice (once during initial GNURadio startup and later when I click on block the gnuradio crashes with that error again) Could you please let me know how to resolve the issue? ThanksVamsi ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] New Module using gr_modtool Error
Hi, I run into the attached error when I create a OOT module and installed it using the following commands. #gnuradio commands#inside gr directorymkdir buildcd build #the install prefix should be given as gnuradio was installed in that folder by MacPortscmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/local ../#to build all filessudo make #to build and install files into correct directory to be used by GRCsudo make install #To remove certain error for GNURadio companionexport PYTHONPATH=/opt/local/lib/python2.7/site-packages/ I do not have problem using existing blocks, but when I create a new (empty module without any code in work function) I'm running GNURadio on Mac installed using MacPortssudo port install gnuradio -universal There is a python error twice (once during initial GNURadio startup and later when I click on block the gnuradio crashes with that error again) Could you please let me know how to resolve the issue? ThanksVamsi Python error Description: Binary data ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Rational number for Interpolation factor
Hi, Is there a way to get rational number as interpolation (or decimation) factor rather than just a integer?I have gone through the documentation and found this, gr_sync_interpolator::gr_sync_interpolator (const std::string , gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature, unsigned interpolation) Here we have interpolation factor to be unsigned which means it is a integer. I was wondering if we can have rational number (i.e, for example 2 inputs produce 3 outputs). ThanksVamsi___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Installing GNURadio Using build script
Hi Marcus, RAM was the issue. It worked like charm once I increased the RAM size. Thank you. On Tuesday, 8 September 2015 11:36 AM, Marcus D. Leech <mle...@ripnet.com> wrote: On 09/08/2015 02:32 PM, vamsi krishna wrote: Hello Everyone, When I try to install GNURadio using the build script provided the build-gnuradio script I get the following error. [ 47%] Building CXX object gr-filter/lib/CMakeFiles/test-gr-filter.dir/qa_firdes.cc.o [ 47%] Building CXX objectgr-filter/lib/CMakeFiles/test-gr-filter.dir/qa_fir_filter_with_buffer.cc.o [ 47%] Building CXX objectgr-filter/lib/CMakeFiles/test-gr-filter.dir/qa_mmse_fir_interpolator_cc.cc.o [ 47%] Building CXX objectgr-filter/lib/CMakeFiles/test-gr-filter.dir/qa_mmse_fir_interpolator_ff.cc.o Linking CXX executable test-gr-filter [ 47%] Built target test-gr-filter Scanning dependencies of target _gr_filter_swig_doc_tag [ 47%] Building CXX objectgr-filter/swig/CMakeFiles/_gr_filter_swig_doc_tag.dir/_gr_filter_swig_doc_tag.cpp.o Linking CXX executable _gr_filter_swig_doc_tag [ 47%] Built target _gr_filter_swig_doc_tag Scanning dependencies of target filter_swig_swig_doc [ 47%] Generating doxygen xml for gr_filter_swig_doc docs [ 47%] Generating python docstrings for gr_filter_swig_doc [ 47%] Built target filter_swig_swig_doc Scanning dependencies of target _filter_swig_swig_tag [ 47%] Building CXX objectgr-filter/swig/CMakeFiles/_filter_swig_swig_tag.dir/_filter_swig_swig_tag.cpp.o Linking CXX executable _filter_swig_swig_tag [ 47%] Built target _filter_swig_swig_tag [ 47%] Generating filter_swig.tag Scanning dependencies of target filter_swig_gr_filter_swig_2b734 [ 47%] Building CXX objectgr-filter/swig/CMakeFiles/filter_swig_gr_filter_swig_2b734.dir/filter_swig_gr_filter_swig_2b734.cpp.o Linking CXX executable filter_swig_gr_filter_swig_2b734 Swig source [ 47%] Built target filter_swig_gr_filter_swig_2b734 Scanning dependencies of target _filter_swig [ 47%] Building CXX object gr-filter/swig/CMakeFiles/_filter_swig.dir/filter_swigPYTHON_wrap.cxx.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [gr-filter/swig/CMakeFiles/_filter_swig.dir/filter_swigPYTHON_wrap.cxx.o] Error 4 make[1]: *** [gr-filter/swig/CMakeFiles/_filter_swig.dir/all] Error 2 make: *** [all] Error 2 make failed Exiting Gnu Radio build/install === If you have found this script useful and time-saving, consider a donation to help me keep build-gnuradio, simple_ra, SIDsuite, meteor_detector, simple_fm_rcv, and multimode maintained and up to date. A simple paypal transfer to mle...@ripnet.com is all you need to do. == Send success/fail info to sbrac.org? I'm running Ubuntu OS (14.04 LTS) on Parallels software on MacBook Air. Can anyone show how to resolve this error? Thanks Vamsi This is almost certainly due to GCC running out of memory during compilation of (rather large) SWIG-generated code. Add more memory to your VM, and/or add swap space. ___ 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
[Discuss-gnuradio] Installing GNURadio Using build script
Hello Everyone, When I try to install GNURadio using the build script provided the build-gnuradio script I get the following error. [ 47%] Building CXX object gr-filter/lib/CMakeFiles/test-gr-filter.dir/qa_firdes.cc.o[ 47%] Building CXX object gr-filter/lib/CMakeFiles/test-gr-filter.dir/qa_fir_filter_with_buffer.cc.o[ 47%] Building CXX object gr-filter/lib/CMakeFiles/test-gr-filter.dir/qa_mmse_fir_interpolator_cc.cc.o[ 47%] Building CXX object gr-filter/lib/CMakeFiles/test-gr-filter.dir/qa_mmse_fir_interpolator_ff.cc.oLinking CXX executable test-gr-filter[ 47%] Built target test-gr-filterScanning dependencies of target _gr_filter_swig_doc_tag[ 47%] Building CXX object gr-filter/swig/CMakeFiles/_gr_filter_swig_doc_tag.dir/_gr_filter_swig_doc_tag.cpp.oLinking CXX executable _gr_filter_swig_doc_tag[ 47%] Built target _gr_filter_swig_doc_tagScanning dependencies of target filter_swig_swig_doc[ 47%] Generating doxygen xml for gr_filter_swig_doc docs[ 47%] Generating python docstrings for gr_filter_swig_doc[ 47%] Built target filter_swig_swig_docScanning dependencies of target _filter_swig_swig_tag[ 47%] Building CXX object gr-filter/swig/CMakeFiles/_filter_swig_swig_tag.dir/_filter_swig_swig_tag.cpp.oLinking CXX executable _filter_swig_swig_tag[ 47%] Built target _filter_swig_swig_tag[ 47%] Generating filter_swig.tagScanning dependencies of target filter_swig_gr_filter_swig_2b734[ 47%] Building CXX object gr-filter/swig/CMakeFiles/filter_swig_gr_filter_swig_2b734.dir/filter_swig_gr_filter_swig_2b734.cpp.oLinking CXX executable filter_swig_gr_filter_swig_2b734Swig source[ 47%] Built target filter_swig_gr_filter_swig_2b734Scanning dependencies of target _filter_swig[ 47%] Building CXX object gr-filter/swig/CMakeFiles/_filter_swig.dir/filter_swigPYTHON_wrap.cxx.oc++: internal compiler error: Killed (program cc1plus)Please submit a full bug report,with preprocessed source if appropriate.See for instructions.make[2]: *** [gr-filter/swig/CMakeFiles/_filter_swig.dir/filter_swigPYTHON_wrap.cxx.o] Error 4make[1]: *** [gr-filter/swig/CMakeFiles/_filter_swig.dir/all] Error 2make: *** [all] Error 2make failedExiting Gnu Radio build/install ===If you have found this script useful and time-saving, consider a donation to help me keep build-gnuradio, simple_ra, SIDsuite,meteor_detector, simple_fm_rcv, and multimode maintained and up to date.A simple paypal transfer to mle...@ripnet.com is all you need to do.==Send success/fail info to sbrac.org? I'm running Ubuntu OS (14.04 LTS) on Parallels software on MacBook Air. Can anyone show how to resolve this error? ThanksVamsi___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Linking .so files to OOT module
Hello everyone, I'm trying to create a source and sink block which will connect to a database to fetch and drop data. The interface to the database is created using shared libraries (.so files) that were defined by someone else, not us. I have included the header file, which contains all the interfaces, inside the include folder of the module. I tried looking for possible solutions and many times it was mentioned to use "target_link_libraries" in CMakeLists.txt file. Could anyone let me know how and where it should be included? Note : The code gets compiled and placed into respective folders alright, but there is this exception after executing on gnuradio-companion. Traceback (most recent call last): File "/xxx/x/.py", line 754, in tb = () File "/xxx/x/.py", line 617, in __init__ self._src_0 = x._src("127.0.0.1", 1234, "Username", "password") AttributeError: 'module' object has no attribute '_src' Thank you.Vamsi___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio