discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Does a block always *have* to return something?


From: Anil Kumar Yerrapragada
Subject: [Discuss-gnuradio] Does a block always *have* to return something?
Date: Sun, 21 Jun 2015 21:40:53 -0500

Will something like this in the work function be correct?

self.consume(0, len(input_items[0])
if (something):
            return 
else:
      out[:] = in0 ** 2 #example
      return len(output_items[0])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]