Skip to content

Consider Cleaning up DAQ/RE Interactions #100

@ZLLentz

Description

@ZLLentz

Current Behavior

  • DAQ subscribes to the RE's doc stream to figure out that it needs to end a run when the RE's run ends
  • This involves a lot of gross logic that can fall apart
  • This creates confusing scenarios where certain bluesky plans can accidentally run multiple DAQ runs
  • This creates weird edge cases where only a special RE in a session can run a DAQ scan

Possible Solution

  • Replace auto run start/end with explicit daq.run_start_plan, daq.run_stop_plan
  • Include these in the nabs decorators

Steps to Reproduce (for bugs)

  1. Create a daq scan that does multiple plans from bluesky.plans
  2. Run it

Context

  • Common issue when creating more complex plans

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions