Re: [Discuss-gnuradio] Integrate block outputting inconsistent results.

2013-12-20 Thread Miguel Duarte
Sure. I don't know if you need an explanation about it (since the code is really ugly), but if you do, I'll gladly explain what I'm doing. class detector(grc_wxgui.top_block_gui): def __init__(self, options): grc_wxgui.top_block_gui.__init__(self, title="Detector22") _icon_path

Re: [Discuss-gnuradio] Integrate block outputting inconsistent results.

2013-12-20 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually, if it worked reliably before, then there might actually be a regression or something that should be better documented. Can you share the top_block's source? Greetings, Marcus On 20.12.2013 13:36, Miguel Duarte wrote: > It worked. > > I don'

Re: [Discuss-gnuradio] Integrate block outputting inconsistent results.

2013-12-20 Thread Miguel Duarte
It worked. I don't think it's about file opening permissions, it must be something else, but it did the trick. The reason I don't think it's about permissions is that the files are different, therefore the handle shouldn't even be the same, or am I wrong in thinking so? Don't know why I need to t

Re: [Discuss-gnuradio] Integrate block outputting inconsistent results.

2013-12-19 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Miguel, don't shame yourself too much. We all make mistakes. It could be that B can't open the file it wants to write, because the file_sink of A still has it open. After the A.stop() have an A.wait() and an A = None. The wait call should let your

[Discuss-gnuradio] Integrate block outputting inconsistent results.

2013-12-19 Thread Miguel Duarte
I hope this doesn't start a new thread. I wanted to answer on my thread but I didn't get my own message on my inbox so.. I hope it works. I ended up getting what was wrong, and I feel ashamed on so many levels, I'm sorry. I was using complex data. Damn. Anyway, after changing everything, it all

[Discuss-gnuradio] Integrate block outputting inconsistent results.

2013-12-19 Thread Miguel Duarte
Hello everyone. I have a system that depends on the integrate block. It integrates samples and then divides them for averaging. I noticed something wasn't working properly after updating to the last GR version and I don't know what's going on, but testing a simple schematic with some blocks: Con