On 04/25/2018 03:11 AM, 김무연 wrote: > Mostly I just followed the way on the internet > My goal is using 'for' structure and comparing the power > So save the highest power in pow and send 1 > if not sustain the previous highest power value and send 0 > So my problem is pow does not save the value for running time > It just save the value for sometimes > If pow saves the renewed power values from some time it keeps sending 0 > but it doesn't > So are there any way to prolong the noutput_items? > Please let me know
Store the power in a class variable inside your block. -- M _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio