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

Implement get_scope_settings #104

Open
kralka opened this issue Nov 9, 2022 · 0 comments
Open

Implement get_scope_settings #104

kralka opened this issue Nov 9, 2022 · 0 comments
Assignees

Comments

@kralka
Copy link
Collaborator

kralka commented Nov 9, 2022

SScope base class should have a method such as def get_scope_settings(self) -> dict[str, str] so that the capture script can do capture_info.update(scope.get_scope_info())
And potentially also something like: def setup_scope(self, capture_info: dict[str, str]) -> None that takes capture_info data and setup of scope using the keys it can understand. This way get_scope_settings() would return all the settings. Sometimes, especially with picoscopes, the scope adjust the settings you give to something it can actually do.

@kralka kralka self-assigned this Nov 9, 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

1 participant