usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Radio loopback / "scaling@OUTPUT_EDGE:0" error

T
thebouleoffools@gmail.com
Wed, Sep 22, 2021 5:18 PM

I’m trying to do a simple repeater setup with my E320. I found that there’s an example file that does essentially that, “rfnoc_radio_loopback.” However, right out of the box, running this file gives the error:

[ERROR] [RFNOC::GRAPH::DETAIL] Adding edge 0/DDC#0:0 -> 0/DUC#0:1 without disabling property_propagation_active will lead to unresolvable graph!

So I modified the file to do the connections manually and set “skip_propagation" to true on that particular connection. When graph->commit is called, I now get this error:

RuntimeError: AccessError: Attemping to read property ‘scaling@OUTPUT_EDGE:0’ before it was initialized!

I’m pretty stumped on this one. The only mention of setting a scaling property is in some test programs, that call:

mock_source_term.set_edge_property<double>(“scaling”, 1.0, {res_source_info::OUTPUT_EDGE, 0});

The DDC or DUC blocks do not have this method. Anything related to scaling in the ddc_block_control appears to be protected or private. What am I doing wrong?

I’m trying to do a simple repeater setup with my E320. I found that there’s an example file that does essentially that, “rfnoc_radio_loopback.” However, right out of the box, running this file gives the error: \[ERROR\] \[RFNOC::GRAPH::DETAIL\] Adding edge 0/DDC#0:0 -> 0/DUC#0:1 without disabling property_propagation_active will lead to unresolvable graph! So I modified the file to do the connections manually and set “skip_propagation" to true on that particular connection. When graph->commit is called, I now get this error: RuntimeError: AccessError: Attemping to read property ‘scaling@OUTPUT_EDGE:0’ before it was initialized! I’m pretty stumped on this one. The only mention of setting a scaling property is in some test programs, that call: mock_source_term.set_edge_property<double>(“scaling”, 1.0, {res_source_info::OUTPUT_EDGE, 0}); The DDC or DUC blocks do not have this method. Anything related to scaling in the ddc_block_control appears to be protected or private. What am I doing wrong?
JP
Jonathon Pendlum
Wed, Sep 22, 2021 5:27 PM

Hello,

What version of UHD are you using?

Jonathon

On Wed, Sep 22, 2021, 13:18 thebouleoffools@gmail.com wrote:

I’m trying to do a simple repeater setup with my E320. I found that
there’s an example file that does essentially that, “rfnoc_radio_loopback.”
However, right out of the box, running this file gives the error:

[ERROR] [RFNOC::GRAPH::DETAIL] Adding edge 0/DDC#0:0 -> 0/DUC#0:1 without
disabling property_propagation_active will lead to unresolvable graph!

So I modified the file to do the connections manually and set
“skip_propagation" to true on that particular connection. When
graph->commit is called, I now get this error:

RuntimeError: AccessError: Attemping to read property ‘scaling@OUTPUT_EDGE:0’
before it was initialized!

I’m pretty stumped on this one. The only mention of setting a scaling
property is in some test programs, that call:

mock_source_term.set_edge_property<double>(“scaling”, 1.0,
{res_source_info::OUTPUT_EDGE, 0});

The DDC or DUC blocks do not have this method. Anything related to scaling
in the ddc_block_control appears to be protected or private. What am I
doing wrong?


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

Hello, What version of UHD are you using? Jonathon On Wed, Sep 22, 2021, 13:18 <thebouleoffools@gmail.com> wrote: > I’m trying to do a simple repeater setup with my E320. I found that > there’s an example file that does essentially that, “rfnoc_radio_loopback.” > However, right out of the box, running this file gives the error: > > [ERROR] [RFNOC::GRAPH::DETAIL] Adding edge 0/DDC#0:0 -> 0/DUC#0:1 without > disabling property_propagation_active will lead to unresolvable graph! > > > So I modified the file to do the connections manually and set > “skip_propagation" to true on that particular connection. When > graph->commit is called, I now get this error: > > RuntimeError: AccessError: Attemping to read property ‘scaling@OUTPUT_EDGE:0’ > before it was initialized! > > I’m pretty stumped on this one. The only mention of setting a scaling > property is in some test programs, that call: > > mock_source_term.set_edge_property<double>(“scaling”, 1.0, > {res_source_info::OUTPUT_EDGE, 0}); > > The DDC or DUC blocks do not have this method. Anything related to scaling > in the ddc_block_control appears to be protected or private. What am I > doing wrong? > > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >
T
thebouleoffools@gmail.com
Wed, Sep 22, 2021 5:46 PM

4.0.0.0. Version string: 4.0.0.HEAD-0-g90ce6062.

4\.0.0.0. Version string: 4.0.0.HEAD-0-g90ce6062.
JP
Jonathon Pendlum
Wed, Sep 22, 2021 6:36 PM

I suggest trying the 4.1.0.2 release. There was a fix for
rfnoc_radio_loopback and a few others since the initial UHD 4.0 release.

On Wed, Sep 22, 2021 at 1:46 PM thebouleoffools@gmail.com wrote:

4.0.0.0. Version string: 4.0.0.HEAD-0-g90ce6062.


USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com

I suggest trying the 4.1.0.2 release. There was a fix for rfnoc_radio_loopback and a few others since the initial UHD 4.0 release. On Wed, Sep 22, 2021 at 1:46 PM <thebouleoffools@gmail.com> wrote: > 4.0.0.0. Version string: 4.0.0.HEAD-0-g90ce6062. > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-leave@lists.ettus.com >
T
thebouleoffools@gmail.com
Wed, Sep 22, 2021 7:33 PM

I might give it a shot again, but when compiling and trying 4.1.0.2 on my radio I get:

ImportError: /usr/lib/python3.7/site-packages/usrp_mpm/libpyusrp_periphs.so: undefined symbol: _ZTIN3uhd16filter_info_baseE

I might give it a shot again, but when compiling and trying 4.1.0.2 on my radio I get: ImportError: /usr/lib/python3.7/site-packages/usrp_mpm/libpyusrp_periphs.so: undefined symbol: _ZTIN3uhd16filter_info_baseE
JP
Jonathon Pendlum
Wed, Sep 22, 2021 7:51 PM

Are you compiling UHD locally on the E320 or cross-compiling? Either should
work, but I would suggest flashing the SD card release from here:
https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v4.1.0.2/e3xx_e320_sdimg_default-v4.1.0.2.zip
.

Are you compiling UHD locally on the E320 or cross-compiling? Either should work, but I would suggest flashing the SD card release from here: https://files.ettus.com/binaries/cache/e3xx/meta-ettus-v4.1.0.2/e3xx_e320_sdimg_default-v4.1.0.2.zip .
T
thebouleoffools@gmail.com
Wed, Sep 22, 2021 8:25 PM

Cross-compiling. I haven’t had any issues compiling the previous versions of the driver. I’m sure loading the pre-built image would work, but I would also like to figure out what I’m doing wrong with the compile.

Cross-compiling. I haven’t had any issues compiling the previous versions of the driver. I’m sure loading the pre-built image would work, but I would also like to figure out what I’m doing wrong with the compile.
T
thebouleoffools@gmail.com
Wed, Sep 22, 2021 11:28 PM

Sure enough, updating the file system with mender got v4.1.0.2 working, but I still get the same errors with the loopback application.

Sure enough, updating the file system with mender got v4.1.0.2 working, but I still get the same errors with the loopback application.