Skip to content

Conversation

@thilokru
Copy link
Collaborator

When executing notebooks, caution is warranted, because setting the microwave switch position will heat up the cryostat. This introduces unwanted disturbances and slows down measurement progress.

Changes

This pull request introduces two new functions:

  • A wrapper of get/<switch>/<position> called is_at_position, returning True if the switch is at the given position
  • An idempotent setter ensure_at_position, which ensures the microwave switch to be at the given position, but checking first, if any action is required.

Discussion Questions

  • Name of the functions

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