|
From: | West, Nathan |
Subject: | Re: [Discuss-gnuradio] Timer |
Date: | Tue, 10 Nov 2015 17:36:30 -0500 |
Hello,
I have written a OOT module (in python) that receives and send PMT messages according to some state machine.
However, I need a timer so that the block will transmit a message after some timeout. I.e., if nothing happens for x seconds, a function is called.
Is there any built-in mechanism in gnuradio for this?
If not - I thought I should implement another block that act as a timer (i.e., it receives a message "wait x seconds" so it goes to sleep for x seconds and sends a message back when it wakes up). But there must by an easier way than this.
Thanks in advance,
Roee
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |