Re: [Discuss-gnuradio] How to predict output buffer size

2017-01-28 Thread Igor Volodin
Hi Marcus, Thanks for reply. I have rechecked offical documentation about forecast() method, and found that you were right. All i think about forecast() behaviour was my miscomprehension. I just want count a number of consecutive samples that have a value of "1". If my block will get on input th

[Discuss-gnuradio] How to predict output buffer size

2017-01-28 Thread Igor Volodin
Hi all, I am creating a block which will count number of "1" values in a sequence, and output it number (I am trying to convert PWM encoded bits). Block has 1 input (numpy.int32) and 1 output (it's also has numpy.int32 type) So, it should work following way: [1,1,1,0,0,1,0,0,0,1,1,1,1,1] ->

[Discuss-gnuradio] Problem with "TCP Source" module in the client mode

2014-03-03 Thread Igor Volodin
Hi all! I am trying to build following simple scheme: Signal source --> TCP Sink (server mode) < TCP Source (client mode) --> GUI Scope Sink It's strange but this simple scheme isn't working. sockstat shows me: USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS

[Discuss-gnuradio] Trouble with gnuradio and AMD32

2012-06-01 Thread Igor Volodin
Hello, all My configuration: Linux Xubuntu 12.04 AMD Athlon XP 2400 Linux ghost32 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:51:22 UTC 2012 i686 athlon i386 GNU/Linux I am compiled latest version of gnuradio, and tried to run simple grc file: http://superkuh.com/simplest.grc , and got fo