*Final Update:*

I decided to ignore the warnings in GNU Radio and proceeded with the Python
script.

When I construct the graph as follows:

radio_noc_block = graph.get_block("0/Radio#0")
radio_block = uhd.rfnoc.RadioControl(radio_noc_block)
rx_streamer = graph.create_rx_streamer(1, uhd.usrp.StreamArgs("fc32",
"sc16"))
graph.connect("0/Radio#0", 0, rx_streamer, 0)
graph.commit()

I’m able to receive samples successfully.

However, when I insert my custom Gain block into the chain:

radio_noc_block = graph.get_block("0/Radio#0")
radio_block = uhd.rfnoc.RadioControl(radio_noc_block)
rx_streamer = graph.create_rx_streamer(1, uhd.usrp.StreamArgs("fc32",
"sc16"))
graph.connect("0/Radio#0", 0, "0/Gain#0", 0, False)
graph.connect("0/Gain#0", 0, rx_streamer, 0)
print(graph)  # Inspect the connections
graph.commit()

I no longer receive any samples.

I would really appreciate your help in identifying what might be going
wrong with the custom block connection.
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to