gnuradiognuradio-companionusrpuhd

How to set USRP antenna in GNU-radio


I am new in gnu-radio and USRP.

I have installed uhd and i can find the USRP-device when running uhd_find_devices

However, when I just follow the simple tutorial and construct that graph, there is some error I cannot understand.

graph

The error is:

RuntimeError: AssertionError: assertion failed:
TX/RX is not a valid xcvr antenna name.
Possible values are: [J1,J2]

Can you help me to solve it?


Solution

  • So, go into your UHD block, and in "RF settings" select "Antenna" to be "J1" or "J2", instead of "TX/RX".

    Also, don't use PSK Mod. It's deprecated. It doesn't work.

    Also, the sample rate is too low.

    Also, there's no 200 MHz clock rate in a USRP2 or N200 or N210.

    Also, your GNU Radio seems to be very old. Maybe update your Linux to a newer version, and then you automatically get a more modern GNU Radio.