Channel selection fixes #20

Merged
kumitterer merged 8 commits from channel-selection-fixes into main 2024-02-17 17:18:24 +00:00
kumitterer commented 2024-02-17 15:49:59 +00:00 (Migrated from github.com)

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.

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.
jupfi commented 2024-02-17 15:55:01 +00:00 (Migrated from github.com)

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.

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.
kumitterer commented 2024-02-17 15:57:37 +00:00 (Migrated from github.com)

That's already there: 2fa839fbb4/src/limedriver.cpp (L97)

That's already there: https://github.com/nqrduck/LimeDriver/blob/2fa839fbb4ee6c6240c5b2a2d296877199e92667/src/limedriver.cpp#L97
jupfi commented 2024-02-17 15:59:39 +00:00 (Migrated from github.com)

Ok then we only need to expose the existing function in the LimeDriverBinding.

Ok then we only need to expose the existing function in the LimeDriverBinding.
Sign in to join this conversation.
No description provided.