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

Add methods for power cycling in SignalAnalyzerInterface #44

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

aromanielloNTIA
Copy link
Member

  • Add an @abstractmethod connect which must be implemented by signal analyzer plugins (this is already implemented by scos-tekrsa, scos-usrp, and scos-keysight)
  • Add a class method power_cycle_and_connect which calls scos_actions.hardware.utils.power_cycle_sigan, waits for (by default) 2 seconds, then attempts to connect to the signal analyzer

Copy link
Contributor

@dboulware dboulware left a comment

Choose a reason for hiding this comment

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

Looks good.

@dboulware dboulware merged commit b01c377 into master Sep 8, 2022
@aromanielloNTIA aromanielloNTIA deleted the power-cycle-sigan branch September 8, 2022 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants