Skip to content
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

GRC RFNoC Digital Upconverter Block Python Code Generation #49

Closed
jmingraham opened this issue Nov 4, 2020 · 4 comments
Closed

GRC RFNoC Digital Upconverter Block Python Code Generation #49

jmingraham opened this issue Nov 4, 2020 · 4 comments

Comments

@jmingraham
Copy link

jmingraham commented Nov 4, 2020

GRC does not generate valid Python code for the RFNoC Digital Upconverter Block.
GRC adds an additional argument (5 instead of 4) when instantiating the ettus.rfnoc_duc block.
The method set_freq is run before set_input_rate in the generated Python code. When this is done, Python complains that it is no longer possible to set the input_rate. The method set_freq also does not appear to change the frequency shift of the ettus.rfnoc_duc.

@sma7c
Copy link

sma7c commented Dec 14, 2020

We've replicated this issue with our X310 integration efforts. needs to be resolved or there's no way to use GRC with RFNOC radio tx.

@nlhnt
Copy link

nlhnt commented Dec 18, 2020

We've encountered this issue as well today. Not that it matters, but we've also used X310.

@blaszki
Copy link

blaszki commented Dec 18, 2020

Line 11 in ettus_rfnoc_duc.block.yml is a problem:

make: |-
    ettus.rfnoc_duc(
        self.rfnoc_graph,
        ${num_chans},
        uhd.device_addr(${block_args}),
        ${device_select},
        ${instance_index})

Workaround: you can delete it from prefix/share/gnuradio/grc/blocks/ettus_rfnoc_duc.block.yml

@mbr0wn
Copy link
Contributor

mbr0wn commented Oct 24, 2022

Resolved by e3a6e80

@mbr0wn mbr0wn closed this as completed Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants