Re: [Discuss-gnuradio] Frequency discriminator using a frequency to voltage converter

2015-11-04 Thread Tim K
Per chance, are you looking for the quadrature demodulator? - Tim On Wed, Nov 4, 2015 at 7:15 AM, larry ho wrote: > Hi > > > I am new to linux and GNU Radio, I am trying to create a frequency to > voltage converter, I tried looking into the source code of QT GUI Frequency > Sink to get an idea

Re: [Discuss-gnuradio] message port declaration problem after changing to 3.7.8

2015-11-04 Thread Marcus Müller
I've lost oversight.. is self a hier block, in this case? On 11/04/2015 06:49 PM, Nemanja Savic wrote: > So, a block called db_logger is written in python and port is defined > in following way: > self.message_port_register_in(pmt.pmt_intern(in_port)) > > Well, I am not sure, this works fine in ol

[Discuss-gnuradio] Message passing.

2015-11-04 Thread M. Ranganathan
Hello! I am building a monitor where capture of I/Q samples to a file is triggered on an pluggable detection scheme. For example, I want to capture say 10 seconds of I/Q samples when LTE is detected. Is this an appropriate place to use https://gnuradio.org/doc/doxygen/page_msg_passing.html ? Th

Re: [Discuss-gnuradio] message port declaration problem after changing to 3.7.8

2015-11-04 Thread Nemanja Savic
So, a block called db_logger is written in python and port is defined in following way: self.message_port_register_in(pmt.pmt_intern(in_port)) Well, I am not sure, this works fine in older version. On Wed, Nov 4, 2015 at 6:41 PM, Marcus Müller wrote: > What does your message_port_register_in ca

Re: [Discuss-gnuradio] message port declaration problem after changing to 3.7.8

2015-11-04 Thread Marcus Müller
What does your message_port_register_in call look like? Or is it a message_port_register_hier_in call? (should it be?) Cheers, Marcus On 11/04/2015 06:37 PM, Nemanja Savic wrote: > Hi, > > ok thanks. Does it matter how I everything is declared, but it is > clear that something changed since 3.6.5

Re: [Discuss-gnuradio] message port declaration problem after changing to 3.7.8

2015-11-04 Thread Nemanja Savic
Hi, ok thanks. Does it matter how I everything is declared, but it is clear that something changed since 3.6.5.1. So i have hier block written in python where i define in_port = 'in_port' out_port='out_port' These arguments are passed in the following way: in_port is receiving port of a block tha

Re: [Discuss-gnuradio] message port declaration problem after changing to 3.7.8

2015-11-04 Thread Marcus Müller
Hi, not really, what it says is really "I can't find in ", with that list being the names of the registered ports. So, the interesting thing is that seemingly,comparin pmt::symbol("in_port") with pmt::symbol("in_port") doesn't quite work well. I'd have to look into what pmt::comparator looks lik

Re: [Discuss-gnuradio] message port declaration problem after changing to 3.7.8

2015-11-04 Thread Nemanja Savic
Hi, hm, could just tell me if I am thinking wrong, but this looks like some of my blocks is also called in_port? Nemanja On Wed, Nov 4, 2015 at 6:14 PM, Marcus Müller wrote: > Hi Nemanja, > > a blind suspicion: as "system" is a port that should be registered by the > runtime for each block, th

Re: [Discuss-gnuradio] Help on RTL-SDR for multiple dongles

2015-11-04 Thread Jose Perez
Hi Tom, Yes, you will need one block for each RTL-SDR. In Device Arguments you have to put: rtl=0 , rtl=1 , rtl=2 ... You can also use the Osmocom Source block for this. .. José -- View this message in context: http://gnuradio.4.n7.nabble.com/Help-on-RTL-SDR-for-multiple-dongles-tp5

Re: [Discuss-gnuradio] message port declaration problem after changing to 3.7.8

2015-11-04 Thread Marcus Müller
Hi Nemanja, a blind suspicion: as "system" is a port that should be registered by the runtime for each block, there might be some confusion happening. Does it work better when you rename your block to something else? Best regards, Marcus On 11/04/2015 06:05 PM, Nemanja Savic wrote: > Hi all guys,

[Discuss-gnuradio] message port declaration problem after changing to 3.7.8

2015-11-04 Thread Nemanja Savic
Hi all guys, I recently installed 3.7.8, and before that I had 3.6.5.1. I was using message passing in some of my blocks, but now I get error which is following: Could not find port: in_port in: in_port system Traceback (most recent call last): File "./top_block.py", line 178, in tb = top

[Discuss-gnuradio] Frequency discriminator using a frequency to voltage converter

2015-11-04 Thread larry ho
Hi I am new to linux and GNU Radio, I am trying to create a frequency to voltage converter, I tried looking into the source code of QT GUI Frequency Sink to get an idea how it detects frequency. However, it seems a little complicated, is there any particular function i should look out

Re: [Discuss-gnuradio] How can I find the cc-Files of GNU-Radio to modify or edit them?

2015-11-04 Thread Marcus Müller
Hi Jenspen, so, first of all, I'd like to point you to the guided tutorials, which are an introduction on how to develop for/with GNU Radio. That'll give you a good start: https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials Please start from Chapter one and work up to chapter 5; t