Release History¶
v2.3.1 (2020-12-22)¶
Fix issue where
events=-1
was a rejected argument rather than a valid configuration for infinite running.
v2.3.0 (2020-10-02)¶
Add
hutch_name
argument toDaq
class to allow bypassing of the externalget_hutch_name
script.
v2.2.7 (2020-09-17)¶
Change bykik code to False by default in set_filter as per Silke’s instructions
Give up on the run_number getter on the first failure per session, it is merely cosmetic and should not slow down the scan.
Decrease the get run number timeout to 1s.
Copy the good docstring for set_filter over to the daq method
Increase timeouts for get_hutch and get_ami_proxy, then cache the result. The result does not change.
Allow controls arg to accept pseudopositioners
Allow “tri-state” configuration args (True, False, None), and allow the Daq class to know whether the user has passed in
None
versus not passed in anything at allAllow
record=None
to mean “Use the record option selected in the DAQ GUI”Increase the begin timeout to 15s
Add more pointed error messages to the wait timeouts
v2.2.6 (2020-08-19)¶
Fix issue with ami proxy script changes, making the library compatible with both the old and the new output.
v2.2.5 (2020-29-05)¶
Compatibility for ophyd=1.5.0
v2.2.4 (2020-05-21)¶
Fix issue with the begin timeout where the clock started ticking too early.
v2.2.3 (2020-3-21)¶
Fix issue with pcdsdaq_lib_setup that broke hutch environments.
v2.2.2 (2020-1-22)¶
Fix issue where daq would fail to load for det and tst hutches.
v2.2.1 (2019-6-6)¶
Bugfixes¶
Fix issue where the daq could rapidly cycle under specific conditions
Fix issue where the daq class wasn’t correctly reset after a disconnect
Fix issue where deprecated
platform
argument was mistakenly left in at 2.0.0Fix issue where module was broken on newest
bluesky
becauseNone
is no longer a valid data shape
v2.2.0 (2018-10-12)¶
Features¶
Add
AmiDet
interface for interacting withpyami
Clean up and update
pcdsdaq_lib_setup
to work withpyami
Allow daq to be configured to run “forever, until everything else is done triggering” by setting
events=0
Add configurable sleep time to account for the difference between the daq process claiming to be ready and actually being ready (
daq.configure(begin_sleep=0.5)
)
Bugfixes¶
Fix issue where package update would break the conda environment
v2.1.0 (2018-08-06)¶
Features¶
Add
Daq.run_number
method to get the current run number.
v2.0.0 (2018-05-27)¶
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.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 theDaq
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 thebluesky
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 (2018-05-08)¶
v1.1.0 (2018-03-07)¶
Features¶
Add
daq.record
property to schedule that the next run sould be configured withrecord=True
Bugfixes¶
Fix bug where configured record was overridden on every configure
v1.0.0 (2018-03-02)¶
Initial release, transferred from https://github.com/pcdshub/pcdsdevices