简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM