The “usrp_spectrum_sense.py” program is used to sense the defined
range. Now, I want to stop it for a period of five second time (e.g.
55 to 59 seconds). For that purpose, I wrote the following lines in
In the above program, I tried to stop sensing for the duration of 5
(i.e. 55 ---- 59 seconds). The program works fine whenever I execute it
between of the mentioned time and it shift automatically to the sensing
mode at time=0 second; but once it start sensing then it never be
to the print message ‘hello world’ even when the condition is matched.
Earliest and kind response is highly appreciated. Thanks.
For example, in a minute 50 seconds are reserved for relaying mode while
the remaining 10 seconds for sensing mode.
These are the two most important tasks out of many others. Right now, I
am able to switch from relay mode to sensing mode but once the program
start with the sensing mode then it won’t be returned to relay mode.
You might want to write a block that outputs data on two different
paths, instead of reconnecting blocks or using message queues.
Yes, the delete_head() call block is remain a mystery for me yet. I am
trying to resolve the issue but if anyone has any suggestions then let
me know. Waiting for positive response.
I recommend not to use it at all (see comment above).
Also, you might get more results for these GNU Radio-specific questions
on the GNU Radio mailing list.