Re: [Discuss-gnuradio] how to make my own block in gnuradio

2013-02-21 Thread Andrew Tierney
Omer, At what level can you not edit the code? They are simply text files. Andrew On 21 Feb 2013, at 09:19, Omer Omer omer9...@yahoo.com wrote: hi,i have a task of making my own block in gnuradio.i have done how to create a module from gnurdio website ,but i do not understand how to edit the

Re: [Discuss-gnuradio] how to make my own block in gnuradio

2013-02-21 Thread Martin Braun (CEL)
http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules On Thu, Feb 21, 2013 at 01:18:51AM -0800, Omer Omer wrote: hi,i have a task of making my own block in gnuradio.i have done how to create a module from gnurdio website ,but i do not understand how to edit the code in .cc and

Re: [Discuss-gnuradio] Setting up clock synchronization blocks

2013-02-21 Thread Martin Braun (CEL)
On Thu, Feb 21, 2013 at 02:10:24PM +0100, Nemanja Savic wrote: Preamble is indeed long. On the figure I attached in my first post it can be seen the input and output od synchronization MM block. I am expecting this block to do synchronization based on preamble. Your packet sync, but not your

Re: [Discuss-gnuradio] build error with next branch

2013-02-21 Thread Tom Rondeau
On Wed, Feb 20, 2013 at 11:33 PM, Ralph A. Schmid, dk5ras ra...@schmid.xxxwrote: Well, this is exactly what everyone recommends _*not*_ to do, they tell, go with the latest sources. ** ** Ralph. That's very outdated advice, though understandable. For a long time, the latest version

Re: [Discuss-gnuradio] Setting up clock synchronization blocks

2013-02-21 Thread Nemanja Savic
Hi, thaks again Martin, I will take a look at the block you suggested. What I meant before, is that I was expecting that MM block will tune it's internall coefficients ,or whatever, based on preamble that comes, since that should be the purpose of the preamble (like in hardware receivers). The

Re: [Discuss-gnuradio] File Source/sink

2013-02-21 Thread Marcus D. Leech
Hi everyone Quick question.. i know GRC can read any file extension i.e. *.txt, but how can i see the data i save on a file sink? to be clear let me try a quick test.. randomsource--throttle--filesink.. when i try to see the exit of the random source my gedit says thats it doesn't recognize

Re: [Discuss-gnuradio] uhd_fft no worky today

2013-02-21 Thread Marcus D. Leech
Ditto. Just did a fresh install from a clean build directory and install directory. Working fine for me. Probably something installed in your system somewhere. Tom Well, that was weird. I pulled a fresh git clone, built, and it's fine. I blame the Russian meteor. :-) -- Marcus Leech

[Discuss-gnuradio] error when running make install

2013-02-21 Thread Sundus Tahir
Hello all, I get this error when I run make install for installing gnuradio into my ubuntu system: /home/imran/Desktop/gnuradio/gnuradio-3.4.1/gnuradio-core/src/lib/.libs/libgnuradio-core.so: undefined reference to `boost::filesystem3::detail::create_directory(boost::filesystem3::path const,

Re: [Discuss-gnuradio] crash: get_usrp_info(): RuntimeError: vector::_M_range_check (uhd)

2013-02-21 Thread Josh Blum
On 02/20/2013 09:50 PM, ikjtel wrote: This is on a USRP1 with two channels , when calling get_usrp_info(0) all is fine, but get_usrp_info(1) is greeted with a crash: Traceback (most recent call last): File eh.py, line 158, in module main () File eh.py, line 151, in main tb

[Discuss-gnuradio] How can I patch UCSBJello files to my existing gnuradio version?

2013-02-21 Thread Nazmul Islam
Hello, I am trying to patch UCSBJello files to my (already installed) gnuradio version. I installed the latest version of gnuradio a couple of days ago using the build-gnuradio script. The UCSBJello project page in CGRAN (https://cgran.org/wiki/UCSBJello) tells to download the tarball, patch the

Re: [Discuss-gnuradio] USRP1 4 Channel Subdev Issue

2013-02-21 Thread Tom Hendrick
Thanks Josh. I've tried some different combinations of uhd_usrp_probe --args=serial=123456, recv_frame_size=16384,num_recv_frames=16 and varied recv_frame_size up to something really high like 1,000,000 and num_recv_frames up to 400 and didn't get the segementation fault error.  When I run my

[Discuss-gnuradio] Using disconnect_all() in C++

2013-02-21 Thread Alexandru Csete
Hi, In gqrx I am successfully using disconnect_all() at the top-block level. Tonight I have tried to use it in a hier_block2 but it doesn't seem to work. The relevant code snippet is here: https://gist.github.com/csete/5008658#file-iq_swap-cpp-L42 - a call to set_enabled() results in: terminate

Re: [Discuss-gnuradio] Using disconnect_all() in C++

2013-02-21 Thread Johnathan Corgan
On Thu, Feb 21, 2013 at 2:36 PM, Alexandru Csete oz9...@gmail.com wrote: terminate called after throwing an instance of 'std::invalid_argument' what(): input port 0 out of range for complex_to_float(26) Aborted (core dumped) Can you get a gdb stack traceback on this? If I disconnect the

Re: [Discuss-gnuradio] Using disconnect_all() in C++

2013-02-21 Thread Alexandru Csete
On Thu, Feb 21, 2013 at 11:47 PM, Johnathan Corgan johnat...@corganlabs.com wrote: On Thu, Feb 21, 2013 at 2:36 PM, Alexandru Csete oz9...@gmail.com wrote: terminate called after throwing an instance of 'std::invalid_argument' what(): input port 0 out of range for complex_to_float(26)

Re: [Discuss-gnuradio] Using disconnect_all() in C++

2013-02-21 Thread Alexandru Csete
On Fri, Feb 22, 2013 at 12:05 AM, Johnathan Corgan johnat...@corganlabs.com wrote: On Thu, Feb 21, 2013 at 3:02 PM, Alexandru Csete oz9...@gmail.com wrote: I can do that but I need some instructions. Do I need to build gnuradio with special flags or just the usual cmake/make? Add

Re: [Discuss-gnuradio] crash: get_usrp_info(): RuntimeError: vector::_M_range_check (uhd)

2013-02-21 Thread ikjtel
Try setting the subdevice spec string for for the two channel usage. -josh Excellent! that worked, thanks. Best Max ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Using disconnect_all() in C++

2013-02-21 Thread Johnathan Corgan
On Thu, Feb 21, 2013 at 3:02 PM, Alexandru Csete oz9...@gmail.com wrote: I can do that but I need some instructions. Do I need to build gnuradio with special flags or just the usual cmake/make? Add -DCMAKE_BUILD_TYPE=DEBUG to your usual cmake command line. This adds the symbol tables to

Re: [Discuss-gnuradio] Using disconnect_all() in C++

2013-02-21 Thread Johnathan Corgan
On Thu, Feb 21, 2013 at 3:08 PM, Alexandru Csete oz9...@gmail.com wrote: Ok, I'll do that; in gdb then I run strace or backtrace after it crashes? $ gdb gqrx [...] (gdb) set args --foo --bar [if needed] (gdb) run [...segfault output...] (gdb) bt (gdb) info threads The output from bt and info

Re: [Discuss-gnuradio] Using disconnect_all() in C++

2013-02-21 Thread Alexandru Csete
On Fri, Feb 22, 2013 at 12:14 AM, Johnathan Corgan johnat...@corganlabs.com wrote: On Thu, Feb 21, 2013 at 3:08 PM, Alexandru Csete oz9...@gmail.com wrote: Ok, I'll do that; in gdb then I run strace or backtrace after it crashes? $ gdb gqrx [...] (gdb) set args --foo --bar [if needed]

Re: [Discuss-gnuradio] Using disconnect_all() in C++

2013-02-21 Thread Johnathan Corgan
On Thu, Feb 21, 2013 at 3:57 PM, Alexandru Csete oz9...@gmail.com wrote: I have attached the trace - I hope you can see something from it. If Qt is interfering I can try to create a simpler example. Can you confirm you are linked against libgnuradio with debugging symbols? There are no stack

Re: [Discuss-gnuradio] Using disconnect_all() in C++

2013-02-21 Thread Johnathan Corgan
On Thu, Feb 21, 2013 at 4:10 PM, Johnathan Corgan johnat...@corganlabs.comwrote: So if you can get this to happen outside QT and verify the debug libraries are actually linked to, that would help. Sorry, lower in the log it does show GR debug symbols so nevermind on that. Let's take the

[Discuss-gnuradio] RRC Polyphase Filter in generic modulator

2013-02-21 Thread Almohanad Fayez
I've been trying to understand what's happening under the hood with the polyphase filter bank in the generic_mod_demod.py. Here's what I think is happening, since nfilt=32 which is also used the sampling rate of the firdes.root_raised_cosine filter means that the highest rate the polyphase filter

[Discuss-gnuradio] Can I add timesamples to tx samples

2013-02-21 Thread Gong Zhang
Hi, Considering we can get timesamples of rx samples from UHD in metadata,can I add timesamples to tx samples,which would be send together. Thanks. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org

Re: [Discuss-gnuradio] Can I add timesamples to tx samples

2013-02-21 Thread Josh Blum
On 02/21/2013 09:20 PM, Gong Zhang wrote: Hi, Considering we can get timesamples of rx samples from UHD in metadata,can I add timesamples to tx samples,which would be send together. Thanks. Sure thing! This link points to some of the examples:

Re: [Discuss-gnuradio] RRC Polyphase Filter in generic modulator

2013-02-21 Thread Martin Braun (CEL)
Almohanad, perhaps the examples in gr-digital/examples/demod are more suitable to understand the internals. A couple of notes: On Thu, Feb 21, 2013 at 08:58:42PM -0500, Almohanad Fayez wrote: I've been trying to understand what's happening under the hood with the polyphase filter bank in the

[Discuss-gnuradio] Is git repository down today?

2013-02-21 Thread Songsong Gee
I've tried to install GNU Radio with build-gnuradio script. But every time it fails and says 'could not find gnuradio-core after checkout git checkout' something ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org