Re: [Discuss-gnuradio] ADS-B on Mac 10.9 - possible linking error

2014-09-23 Thread Michael Dickens
That's great, Alan. Thanks for the feedback & have fun with your GNU Radio / RTL dongle setup. - MLD On Sep 23, 2014, at 6:21 PM, Alan Woodward wrote: > Many thanks for your help, the macports method has worked perfectly and I now > have a working gr-air-modes with the rtl-sdr dongle. _

Re: [Discuss-gnuradio] inserting code into top_block.py

2014-09-23 Thread Jeff Long
Vanush, GRC will overwrite any changes you make to the generated Python file, so you would want to do any custom programming outside that file. The '__main__' code is only hit if you execute the file as the top level program. - Jeff On 09/23/2014 07:52 PM, Vanush Vaswani wrote: Shouldn't h

Re: [Discuss-gnuradio] inserting code into top_block.py

2014-09-23 Thread Vanush Vaswani
Shouldn't he "cut" the code? On Wed, Sep 24, 2014 at 5:53 AM, Jeff Long wrote: > The most straightforward way is to make a small Python program that calls > the class generated by GRC. Copy the autogenerated code after > > if __name__ == '__main__' > > into another file, and insert your logic bef

Re: [Discuss-gnuradio] ADS-B on Mac 10.9 - possible linking error

2014-09-23 Thread Nick Foster
Awesome, thanks for the report Alan, and thanks Michael for the package. Happy to incorporate any required changes. --n On Sep 23, 2014 3:21 PM, "Alan Woodward" wrote: > Michael, Bastian > > Many thanks for your help, the macports method has worked perfectly and I > now have a working gr-air-mod

Re: [Discuss-gnuradio] ADS-B on Mac 10.9 - possible linking error

2014-09-23 Thread Alan Woodward
Michael, Bastian Many thanks for your help, the macports method has worked perfectly and I now have a working gr-air-modes with the rtl-sdr dongle. Alan On 23 Sep 2014, at 10:56, Michael Dickens wrote: > A few points regarding gr-air-modes on OSX: > > 0) "ldconfig" does not exist on OSX. Ap

Re: [Discuss-gnuradio] inserting code into top_block.py

2014-09-23 Thread Jeff Long
The most straightforward way is to make a small Python program that calls the class generated by GRC. Copy the autogenerated code after if __name__ == '__main__' into another file, and insert your logic before the tb.start() line. - Jeff On 09/23/2014 03:14 PM, Martin Braun wrote: You might

Re: [Discuss-gnuradio] inserting code into top_block.py

2014-09-23 Thread Martin Braun
You might be able to trick the 'Variable' block into doing what you want. M On 23.09.2014 12:01, Ryan Marlow wrote: Hey All, I'm trying to figure out if what I want to do is possible in GNU Radio Companion or if there's a better way to achieve this functionality. I have some code that I want to

[Discuss-gnuradio] inserting code into top_block.py

2014-09-23 Thread Ryan Marlow
Hey All, I'm trying to figure out if what I want to do is possible in GNU Radio Companion or if there's a better way to achieve this functionality. I have some code that I want to execute after all the blocks and connections have been initialized in the top_block init()but before the tb.Start(). Is

Re: [Discuss-gnuradio] Delay block controlled by input

2014-09-23 Thread Tom Rondeau
On Tue, Sep 23, 2014 at 9:25 AM, Carlos Alberto Ruiz Naranjo < carlosruiznara...@gmail.com> wrote: > - SIGNAL: 1023 samples/s > > - CLOCK: Counter that increments +0.001 when passing 10230 samples. > > - SATELLITE ORBIT: Calculate the satellite orbit and delay. > > > ​ > Ok. My problem with t

Re: [Discuss-gnuradio] Issue with deinterleave block from a file source to USRP sink with x300

2014-09-23 Thread Tom Rondeau
On Tue, Sep 23, 2014 at 12:22 PM, Martin Braun wrote: > On 23.09.2014 09:08, ruben.m...@swisscom.com wrote: > >> I was expecting that answer (not the jumping up and down part, but the >> let's fix the right problem). >> >> I can try to fix it, I just need to find some time. Would you have a good

Re: [Discuss-gnuradio] Issue with deinterleave block from a file source to USRP sink with x300

2014-09-23 Thread Martin Braun
On 23.09.2014 09:08, ruben.m...@swisscom.com wrote: I was expecting that answer (not the jumping up and down part, but the let's fix the right problem). I can try to fix it, I just need to find some time. Would you have a good example of another block to look into? First of all, you'll need

Re: [Discuss-gnuradio] Issue with deinterleave block from a file source to USRP sink with x300

2014-09-23 Thread Ruben.Merz
I was expecting that answer (not the jumping up and down part, but the let's fix the right problem). I can try to fix it, I just need to find some time. Would you have a good example of another block to look into? Ruben > -Original Message- > From: discuss-gnuradio-bounces+ruben.merz=sw

Re: [Discuss-gnuradio] Issue with deinterleave block from a file source to USRP sink with x300

2014-09-23 Thread Martin Braun
I usually jump up and down with excitement when people send documentation patches, but this is not one that should go in GNU Radio. First of all, deinterleave and stream_to_streams are not identical unless you have unit block size. Second, we should fix the deinterleaver rather than pointing ou

Re: [Discuss-gnuradio] Issue with deinterleave block from a file source to USRP sink with x300

2014-09-23 Thread Martin Braun
On 22.09.2014 23:50, ruben.m...@swisscom.com wrote: We are using a similar setup to transmit a 2x2 MIMO OFDM waveform on the x300. Because we were not sure what to assume from a TX synchronization point of view, we decided to put the IQ samples of both channels interleaved in one file. We figured

Re: [Discuss-gnuradio] ADS-B on Mac 10.9 - possible linking error

2014-09-23 Thread Michael Dickens
A few points regarding gr-air-modes on OSX: 0) "ldconfig" does not exist on OSX. Apple's DYLD manager "does the right thing" most of the time without having to be told that new libraries are available. One can tweak the DYLD manager behavior during runtime via various DYLD_* variables < http

Re: [Discuss-gnuradio] Delay block controlled by input

2014-09-23 Thread Carlos Alberto Ruiz Naranjo
- SIGNAL: 1023 samples/s - CLOCK: Counter that increments +0.001 when passing 10230 samples. - SATELLITE ORBIT: Calculate the satellite orbit and delay. ​ ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/lis

Re: [Discuss-gnuradio] Delay block controlled by input

2014-09-23 Thread Carlos Alberto Ruiz Naranjo
It simulates the signal delay of a satellite. It is updated every millisecond. The control mechanism is a block which calculates the satellite orbit every millisecond and measures the distance. 2014-09-23 14:54 GMT+02:00 Tom Rondeau : > On Tue, Sep 23, 2014 at 2:38 AM, Carlos Alberto Ruiz Naranj

Re: [Discuss-gnuradio] Delay block controlled by input

2014-09-23 Thread Tom Rondeau
On Tue, Sep 23, 2014 at 2:38 AM, Carlos Alberto Ruiz Naranjo < carlosruiznara...@gmail.com> wrote: > Hello, > > I have modified GNURadio delay block. It is a controlled delay from an > input at runtime. > > I would like to know your opinion; if the block is well designed. > > > http://pastebin.com

Re: [Discuss-gnuradio] ADS-B on Mac 10.9 - possible linking error

2014-09-23 Thread Bastian Bloessl
Hi Alan, On 23 Sep 2014, at 13:19, Alan Woodward wrote: > Hi > > I am trying to build and use gr_air_modes built from > https://github.com/bistromath/gr-air-modes. But the command > > sudo ldconfig > > is not available on Mac 10.9.5. When I execute the modes_rx command I get > the followi

[Discuss-gnuradio] ADS-B on Mac 10.9 - possible linking error

2014-09-23 Thread Alan Woodward
Hi I am trying to build and use gr_air_modes built from https://github.com/bistromath/gr-air-modes. But the command sudo ldconfig is not available on Mac 10.9.5. When I execute the modes_rx command I get the following: sudo /usr/local/bin/modes_gui Traceback (most recent call last): File

Re: [Discuss-gnuradio] stop() and wait() on topblock does not work on OS X

2014-09-23 Thread Sylvain Munaut
> Ah; OK. Running osmocom_fft using a HackRF Jawbreaker and everything works > OK; I can do "stop", "run", and close without issues. Maybe this issue is > specific to some RTL device(s) rather than OSX? - MLD Well, it definitely works with rtl on linux, but it wouldn't suprise me if the issue

Re: [Discuss-gnuradio] Issue with deinterleave block from a file source to USRP sink with x300

2014-09-23 Thread Ruben.Merz
Indeed. Would the following patch to the documentation be useful (since streams to stream seems to replace it properly)? diff --git a/gr-blocks/include/gnuradio/blocks/deinterleave.h b/gr-blocks/include/gnuradio/blocks/deinterleave.h index a3b5480..1b9d5c1 100644 --- a/gr-blocks/include/gnuradio