[Top][All Lists]

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

[Discuss-gnuradio] GRC USRP source/sink block - IP address

From: Alexander B
Subject: [Discuss-gnuradio] GRC USRP source/sink block - IP address
Date: Fri, 18 Oct 2013 06:06:16 -0700 (PDT)

Hello all

just looking for some help regarding the USRP N210 in GRC.

I'm having a problem with the IP address in GRC.

I have looked around but the only material I have found regarding IP address
relates to setting up the N210 on the network.

That part I have correct.
-> I can ping the device
-> uhd_find_devices returns as it should
-> utilitiy programs (txrx_loopback) work

My problem I think is in integration with GRC.

I have an existing flow that implements my OFDM system (loopback to same
device) that I was using with my USRP1.

All I have done after swapping in the N210 into the loop is populate the
fields in the USRP sink/source block with the N210's address.

I get the following error complaining about the IP address:


Traceback (most recent call last):
  File "transmitter_gain_freq_test.py", line 226, in <module>
    tb = transmitter_gain_freq_test()
  File "transmitter_gain_freq_test.py", line 111, in __init__
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/__init__.py",
line 116, in constructor_interceptor
    return old_constructor(*args)
  File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py",
line 2479, in usrp_source
    return _uhd_swig.usrp_source(*args)
RuntimeError: unknown key format:


The generated code is as follows:

                self.uhd_usrp_source_0 = uhd.usrp_source(
                self.uhd_usrp_source_0.set_center_freq(carrier, 0)
                self.uhd_usrp_source_0.set_gain(RX_gain, 0)
                self.uhd_usrp_source_0.set_antenna("RX", 0)

With the remaining fields blank or default (works with USRP1)

ubuntu 12.10
GNU radio

I'm rather stumped here, any suggestions of change would be much
port number perhaps?

Alex B

View this message in context: 
Sent from the GnuRadio mailing list archive at Nabble.com.

reply via email to

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