Re: [Discuss-gnuradio] Video Streaming

2014-02-22 Thread Marcus Müller
Hi Syed, from my perspective, the only way packets could get lost in your scenario 2 is when your operating system's network stack decides to drop packets, which should only happen if there is a big backlog of unread ones. Try replacing the UDP sink by a file sink and see if that content is com

Re: [Discuss-gnuradio] messages get lost randomly

2014-02-22 Thread Martin Braun
On 02/22/2014 12:40 AM, Miklos Maroti wrote: > Hi Guys, > > Ok, I have found out how to make it work reliably. You must register a > listener with set_msg_handler, and then you will get the missing > messages there. > > In light of this, I do not see how pdu_to_tagged_stream could work > reliably

Re: [Discuss-gnuradio] messages get lost randomly

2014-02-22 Thread Miklos Maroti
Hi Martin, On Sat, Feb 22, 2014 at 1:44 PM, Martin Braun wrote: > On 02/22/2014 12:40 AM, Miklos Maroti wrote: >> Hi Guys, >> >> Ok, I have found out how to make it work reliably. You must register a >> listener with set_msg_handler, and then you will get the missing >> messages there. >> >> In l

Re: [Discuss-gnuradio] How does a C++ custom block kill the FlowGraph

2014-02-22 Thread Martin Braun
On 02/21/2014 06:27 PM, Tommy Tracy II wrote: > Both sub-flowgraphs use the same top block (you can’t have two top > blocks in one application). Unfortunately, because they are disjoint, if > the 1st Source returns WORK_DONE, it won’t call the other blocks’ > destructors as I would expect. It appea

Re: [Discuss-gnuradio] Video Streaming

2014-02-22 Thread Martin Braun
On 02/21/2014 04:44 PM, Martin Braun wrote: > No, I assume you actually want help, and are not posting this question > to annoy anyone. Here's some advice: > - Read this: > http://gnuradio.org/redmine/projects/gnuradio/wiki/ReportingErrors > - Narrow down the problem. Convince us that you've tried

[Discuss-gnuradio] pmt memory management

2014-02-22 Thread Miklos Maroti
Hi Guys, Does copying a large pmt vector involve copying the underlying memory region or do they share a single copy (refcounted)? If the do share a single memory area, then can one thread modify the data of the vector and will it be visible to the other thread just like regular arrays? Miklos _

[Discuss-gnuradio] Converting from #ifndef/#define include guards to #pragma once globally

2014-02-22 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello community, after finding a minor mistake in a header include file this week, I've wanted to make sure that the GR header files have proper, non-conflicting include guards. So I want to open the discussion whether GR would want to change from #i

[Discuss-gnuradio] simple control of wxgui application

2014-02-22 Thread Achilleas Anastasopoulos
I have a simple python gui application (compiled from grc) that I want to control by adding some sleep statement in the main and changing some variables as it runs and then stop it. The code produced by grc looks like: ... if __name__ == '__main__': import ctypes import sys if sys.pla

[Discuss-gnuradio] Google Summer of Code 2014 applicant : Optimization with VOLK

2014-02-22 Thread Abhishek Bhowmick
Hello, I have completed a Bachelor's degree in Electrical Engineering from IIT Bombay, India and will be joining a masters program in Computer Science in August. For the summer, I am interested in participating GSoC 2014 and GNU Radio is an organization where my background fits nicely. I went thro