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

Enable Osc Plot #513

Open
wants to merge 3 commits into
base: libiio-v1-support
Choose a base branch
from
Open

Enable Osc Plot #513

wants to merge 3 commits into from

Conversation

cristina-suteu
Copy link
Contributor

PR Description

Osc plot now uses libiio v1 API and data is captured with the iio_stream object.
TO DO: context clone and osc_test_value methods

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have followed the coding standards and guidelines
  • I have conducted a self-review of my own code changes
  • I have commented new code, particulary complex or unclear areas
  • I have checked in CI output that no new warnings/errors got introduced
  • I have updated documentation accordingly (GitHub Pages, READMEs, etc)

Signed-off-by: Cristina Suteu <[email protected]>
use libiio1 stream object
use libiio1 API
re-enable plotting functions
TO DO: context clone and osc_test_value functions

Signed-off-by: Cristina Suteu <[email protected]>
@@ -167,7 +167,7 @@ unsigned global_enabled_channels_mask(struct iio_device *dev, struct iio_channel
unsigned mask = 0;
int scan_i = 0;
unsigned int i = 0;
//struct iio_channels_mask *ch_mask = iio_get_channels_mask(iio_device_get_channels_count(dev));
//struct iio_channels_mask *ch_mask = iio_create_channels_mask(iio_device_get_channels_count(dev));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You forgot to uncomment the variable that stores the channels mask.

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

Successfully merging this pull request may close these issues.

2 participants