Re: [Discuss-gnuradio] Problem with simple implementation of sink block

2016-02-12 Thread Marcus Müller
The histogram sink calculates a histogram over the N last samples, with N set by configuring "number of points"; hence, if that is e.g. 1024 (default value), all counts must be ≤1024 and ∑(counts)=1024. By the way, your block logic is a bit redundant: GNU Radio gives you then block.ninput_items_re

[Discuss-gnuradio] Problem with simple implementation of sink block

2016-02-11 Thread Maicon Kist
Hi, I am having a problem with a simple block implementation in GNURadio: I developed a python block to count the quantity of numbers received.  The problem arises when I compare the quantity of numbers received by my block with the ones counted in a Qt Histogram. My flowgraph is: