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

Always-running bluesky plans (?) #815

Open
stan-dot opened this issue Feb 10, 2025 · 5 comments
Open

Always-running bluesky plans (?) #815

stan-dot opened this issue Feb 10, 2025 · 5 comments
Labels
enhancement New feature or request question Further information is requested spike Issue to investigate scope/feasilibilty/technology etc. of how to do something

Comments

@stan-dot
Copy link
Contributor

Keeping some value continuously minimized / maximized for the state of the beamline.
Is it a DAQ area or Controls? Even if Controls, this could be theoretically accomplished with bluesky and there have been questions raised about this possibility from the scientists.

Acceptance Criteria

  • Specific criteria that will be used to judge if the issue is fixed
@stan-dot stan-dot added enhancement New feature or request question Further information is requested spike Issue to investigate scope/feasilibilty/technology etc. of how to do something labels Feb 10, 2025
@callumforrester
Copy link
Contributor

I think the biggest problem doing this in bluesky is that it involves a constantly-running plan in the background, with the user invoking specific plans to run for a short time.

While there has been discussion about making bluesky run concurrent plans (bluesky/bluesky#1652) this is not a use case we would want to support. We would want to execute a finite, top-level plan that can execute sub-plans with restricted capabilities (see reasoning: bluesky/bluesky#1652 (comment)).

This may be a case of someone prescribing a solution rather than stating the problem, @stan-dot are you able to provide any concrete use cases?

@stan-dot
Copy link
Contributor Author

This may be a case of someone prescribing a solution rather than stating the problem

this very well might be

this was about i18 to preserve maximization of electron flow on detectors [detector_name] by auto-moving motors [motor_names] while other motors [motor_names_2] move to change property of the whole instrument

@callumforrester
Copy link
Contributor

But is there a particular reason why that should be done over the top of a data collection plan rather than just inside it?

@stan-dot
Copy link
Contributor Author

because data collection is a specific collection a user runs and the preservation of electron flow is the instrument property, the users would like this done for them

@callumforrester
Copy link
Contributor

But what is wrong with the optimisation occurring automatically as-and-when the user requests a collection, rather than constantly in the background? Is it too slow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested spike Issue to investigate scope/feasilibilty/technology etc. of how to do something
Projects
None yet
Development

No branches or pull requests

2 participants