Skip to content

Releases: pcdshub/pcdsdaq

v2.0.0

27 Jun 23:08
b095ab5
Compare
Choose a tag to compare

Features

  • Allow ctrl+c during a begin call with wait=True to stop the run.
  • Add sourcable pcdsdaq_lib_setup script that will get pydaq and pycdb
    ready for your python environment.
  • The connect method will provide more helpful error messages when it fails.
  • Allow the Daq class to be used as a bluesky readable device.
    Once staged, runs will end on run stop documents.
    A calibcycle will be run when the Daq is triggered, and triggering will be
    reported as done when the Daq has stopped. This means it is viable to use
    the Daq inside normal plans like scan and count.
  • Add an argument to Daq.begin: end_run=True will end the run once the
    daq stops running, rather than leaving the run open.
  • Add Daq.begin_infinite
  • Add Daq.config_info
  • Restore daq state after a bluesky plan, e.g. disconnect if we were
    disconnected, run if we were running, etc.
  • Add support for scan PVs via the ScanVars class. This class attaches
    itself to a RunEngine and knows when to update each PV, provided that
    the plan has reasonable metadata.

API Changes

  • calib_cycle and related plans module has been removed, as using the
    Daq as a readable device is more intuitive and it's still early enough to
    break my API.
  • daq_wrapper and daq_decorator have been move to the preprocessors
    submodule, as a parallel to the bluesky structure. They have been renamed
    to daq_during_wrapper and daq_during_decorator as a parallel to the
    built-in fly_during_wrapper. These are now simple preprocessors to
    run the daq at the same time as a daq-agnostic plan.
  • complete no longer ends the run. This makes it more in line with the
    bluesky API.

Deprecations

  • The daq no longer needs to be passed a platform argument. This argument
    will be removed in a future release, and will log a warning if you pass it.

v1.2.0

08 May 18:46
2af7668
Compare
Choose a tag to compare

New Features

  • Add the record option to the begin method. This allows a user running interactively to concisely activate recording for single runs.

... and that's it. I usually prefer not to make such small feature releases, but it's not clear when we'll next push hard on improving this particular module, so I'm opting to tag a release today.

v1.1.0

08 Mar 00:55
c82389e
Compare
Choose a tag to compare
  • Add daq.record property to schedule that the next run should be configured with record=True
  • Fix bug where configured record was overridden on every configure

v1.0.0

03 Mar 02:47
abcb144
Compare
Choose a tag to compare

Initial release of pcdsdaq. The API is largely defined and the docs are thorough, so let's set it to 1.0.0.