Tunnel and sense in the same USRP device

Hi All,

    Here is my experiment environment:
            Host A: one USRP1 + two RFX2400
            Host B: one USRP1 + one RFX2400
            Both of these two hosts, I am using the gnuradio trunk

version and fedora core 7.
Goal: tunnel on a specific spectrum and sense a wideband
spectrum
range(2.3GHz to 2.5GHz in this example).

    I want to use this environment to achieve tunneling between two

hosts and simultaneously sense wideband on host A, so I have modified
the
widespectrum.py and tunnel.py. I have tried to combine these two
programs
into one program. However when I execute this program (type
./tunnel_sense.py –f 2.462G 2.3G 2.5G), this program locked after I
configure the gr0 interface.

    I know that when I configure the gr0 interface, the procedure 

will
jump into the sense_loop(tb), but I can’t realize why the procedure
locked
at the while loop of sense_loop(tb). The attached file is the program
which
I have modified.

    Is there anyone doing the thing or any suggestion? Any 

suggestions
are good for me…more appreciated, thanks.

Joey

曾繁勛 wrote:

which
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Hi,

The problem seem to be related to your definition of your USRP source.
The
source is defined in receive_path but your trying to access it in
tunnel_sense as being a source within the topblock. I would define it in
the
topblock and pass it along to the rx path.

Regards,
Dan

View this message in context:
http://www.nabble.com/Tunnel-and-sense-in-the-same-USRP-device-tp24729726p24786131.html
Sent from the GnuRadio mailing list archive at Nabble.com.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs