Releases: pcdshub/pcdsdaq
Releases · pcdshub/pcdsdaq
v2.0.0
Features
- Allow
ctrl+c
during abegin
call withwait=True
to stop the run. - Add sourcable
pcdsdaq_lib_setup
script that will getpydaq
andpycdb
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 abluesky
readable device.
Once staged, runs will end on run stop documents.
A calibcycle will be run when theDaq
is triggered, and triggering will be
reported as done when theDaq
has stopped. This means it is viable to use
theDaq
inside normal plans likescan
andcount
. - 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 aRunEngine
and knows when to update each PV, provided that
theplan
has reasonable metadata.
API Changes
calib_cycle
and relatedplans
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
anddaq_decorator
have been move to thepreprocessors
submodule, as a parallel to thebluesky
structure. They have been renamed
todaq_during_wrapper
anddaq_during_decorator
as a parallel to the
built-infly_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
New Features
- Add the
record
option to thebegin
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.