Channel selection fixes #20
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: nqrduck/limedriver#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "channel-selection-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds two features:
First, it allows passing a device info string as a parameter, allowing selection of a specific LimeSDR when multiple are connected simultaneously (falling back to the first identified device when undefined).
In addition, it adds functions to retrieve the number of TX and RX channels available on the selected LimeSDR, and a check for validity of the selected channel when running an experiment.
N.B.: On the LimeDriverBinding side, this probably requires a change to the LimeConfig object reflecting the added parameter.
Probably something for the LimeDriverBindings but:
There should be a method that provides the currently available devices as strings. Than it would be easier to select the appropriate device.
That's already there:
2fa839fbb4/src/limedriver.cpp (L97)
Ok then we only need to expose the existing function in the LimeDriverBinding.