[Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py
From:
ali siddiqi
Subject:
[Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py
Date:
Wed, 15 Jul 2009 21:25:05 +0600
Hi,
I am working on a cognitive radio system. the transmitter side senses the spectrum and then transmits on a carrier frequency which it finds free. The receiver should be kept synchronized with the transmitter. The transmitter is for now tx_voice.py and receiver is rx_voice.py. Assumptions: The trasmitter is only using 3 freqs: 460e6 461e6 462e6 Hz The receiver also knows this set of frequencies
Till now: I have implemented the power detector module in the transmitter.
Problem: I am failing to implement the required changes in rx_voice.py I don't know where to implement the following logic in rx_voice.py: If no packet is received on freq1 check freq2
else stay (also keep checking if data is being received,If packets are not being received then move to another frequency)
and so on
2nd Approach: I tried a new approach with same logic by using the concept of subprocesses ;
i wrote the following code:
##################################################################################### import time import subprocess
But the problem arises because the opening of a process (rx_voice.py) takes some time (maybe because of some messages which are displayed everytime when rx_voice.py is started) NOTE: kill() only runs in python 2.6 and maybe higher versions
Can someone please help me in my initial approach (editing rx_voice.py or receive_path.py) OR my subprocess approach?? time is not on my side :)
Regards Ali
[Prev in Thread]
Current Thread
[Next in Thread]
[Discuss-gnuradio] Changing frequency dynamically in benchmark_rx.py,
ali siddiqi<=