-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rfnoc_radio_loopback with rx and tx from same block gives error: read property `scaling@OUTPUT_EDGE:0' #492
Comments
I now have a workaround: I manually set the uninitialized scaling properties by hand. This is most certainly not the intended way, but it works. To do this I copied
As I said: this works, but whatever the actual problem is should probably be properly fixed somewhere in the uhd library. |
@TSlivede
Note that I did not test this example without my custom block in the chain, however, this should not change much. |
|
I experienced the same issue running the same example app on X310 and RFNOC 4.7 release. As long as the Rx and Tx radio block is different, the app ran fine, but it failed to initialize when Tx and Rx radio block Id is the same. [INFO] [UHD] linux; GNU C++ version 13.2.0; Boost_108300; UHD_4.7.0.0-0-ga5ed1872 |
Issue Description
doesn't work and prints error:
If rx-blockid and tx-blockid are different, it works as expected (My real usecase is not the example. I am using all 4 rx-channels.
The example just seems like the easiest way to reproduce the problem.Edit: After finding the workaround it seems that this problem is independent of my problem.).As the error message mentioned that property_propagation could be disabled, I tried modifying the example. I made my own copy of rfnoc_radio_loopback.cpp, copied
connect_through_blocks
directly into it and changed the lastgraph->connect
call to disable property propagation (I setskip_property_propagation
totrue
).This solves the unresolvable graph error, but leads to another error:
This error appears to occur at the
graph->commit
call.Setup Details
uhd_images_downloader
from ettus)uhd_image_loader --args "type=n3xx,fpga=HG"
Expected Behavior
I expected to be able to use rx and tx from the same radio control block in loopback configuration (receive and directly send out again), at least when I disable property propagation.
Actual Behaviour
I got the errors mentioned above.
Steps to reproduce the problem
Modified rfnoc_radio_loopback code:
Additional Information
Stacktrace of the location, where
AccessError: Attempting to read ... before it was initialized!
is thrown.Local variables of
graph_t::_assert_edge_props_consistent(rfnoc_graph_t::edge_descriptor)
then:The text was updated successfully, but these errors were encountered: