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

tx_samples_from_file only works with channel 0 #706

Closed
joelkeeling opened this issue Oct 2, 2023 · 1 comment
Closed

tx_samples_from_file only works with channel 0 #706

joelkeeling opened this issue Oct 2, 2023 · 1 comment

Comments

@joelkeeling
Copy link
Contributor

Issue Description

The example program tx_samples_from_file does not properly handle the channel argument

Setup Details

Run the example program with the '--channel' argument set to anything but '0'

Expected Behavior

The transmission would be correctly configured for the specified channel

Actual Behaviour

Configuration settings always get written to channel 0

Steps to reproduce the problem

I will instead describe the fix to the problem:
Many calls throughout the example rely on function "default arguments" to set the channel. In most cases the default is channel '0'.
Calls that could, but don't specify the channel are: set_tx_rate, set_tx_freq, set_tx_gain, set_tx_bandwidth set_tx_antenna

Additional Information

We have corrected this issue on our local system. If time permits, I hope to provide a small Pull Request to correct the issue.

@manderseck
Copy link
Contributor

Thanks for reporting and fixing these issues. Your changes have been merged into our internal master and will be publicly available with the next push to the public uhd repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants