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

Handle calibration #19

Open
BECATRUE opened this issue Nov 17, 2024 · 0 comments
Open

Handle calibration #19

BECATRUE opened this issue Nov 17, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@BECATRUE
Copy link
Member

BECATRUE commented Nov 17, 2024

Feature you want to implement

Users often request WLM calibration, hence the server should support it.

How the feature is implemented

The workflow is as below.

  1. A request to calibrate is received.
  2. If there is a task handler, i.e., the measurement is running, it returns an error.
  3. Otherwise, it creates a new task handler and sends the messages to 1) calibrate and 2) close the WLM connection.
  4. Task handler receives the messages, and perform them.

The calibration info is stored in config model.

Additional context

Whenever it calibrates, the task handler is recreated and the WLM connection is reopened, thus it looks too inefficient.
I will improve the workflow in #36, so please ignore this for now.

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

No branches or pull requests

1 participant