Release History¶
v2.4.4 (2024-08-20)¶
Include pcdsutils dependency in requirements
Use bluesky-base in conda-recipe to avoid matplotlib qt dependencies
v2.4.3 (2023-09-14)¶
Raise if daq not yet registered, consolidate exceptions and some relative imports
v2.4.2 (2023-04-13)¶
Fix issues related to the missing pcdsdaq_lib_setup script
Fix issues related to failing pypi builds
Fix issues related to failing docs builds
v2.4.1 (2023-04-11)¶
Mark tests as xfail, we’ll come back to fix them later. This is not operation critical. One of these tests contain a nasty race condition that causes the suite to time out.
Fix an issue where automatic pypi/conda uploads would not have proper authentication.
v2.4.0 (2023-04-04)¶
This includes a large update for lcls2 daq support, but the module is fully backwards compatible with the previous versions.
Huge addition of 1st-class lcls2 daq support including monitoring the current daq’s status and running it. Uses the daq’s own APIs repackaged for bluesky.
Migrate to github actions, pyproject.toml, and other ecs standards.
Merge an ancient PR that adds a useful feature for CXI
v2.3.5 (2022-06-02)¶
Fix issue where the scan variable min/max values would not fill in correctly for scan types other then the normal “scan”.
v2.3.4 (2021-04-02)¶
Fix issue where the
Daqcould automatically disconnect after a scan was complete, causing allamiwindows to close.
v2.3.3 (2021-02-10)¶
Fix issue where the
AmiDethad a hintedentriesfield that got in the way when using theBestEffortCallback.
v2.3.2 (2021-01-11)¶
Update recipe and build for python 3.7+ and noarch compatibility
Remove pydaq linkage scripts in favor of using the corrected sym links in the daq build
v2.3.1 (2020-12-22)¶
Fix issue where
events=-1was a rejected argument rather than a valid configuration for infinite running.
v2.3.0 (2020-10-02)¶
Add
hutch_nameargument toDaqclass to allow bypassing of the externalget_hutch_namescript.
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
Noneversus not passed in anything at allAllow
record=Noneto 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
platformargument was mistakenly left in at 2.0.0Fix issue where module was broken on newest
blueskybecauseNoneis no longer a valid data shape
v2.2.0 (2018-10-12)¶
Features¶
Add
AmiDetinterface for interacting withpyamiClean up and update
pcdsdaq_lib_setupto work withpyamiAllow daq to be configured to run “forever, until everything else is done triggering” by setting
events=0Add 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_numbermethod to get the current run number.
v2.0.0 (2018-05-27)¶
Features¶
Allow
ctrl+cduring abegincall withwait=Trueto stop the run.Add sourcable
pcdsdaq_lib_setupscript that will getpydaqandpycdbready for your python environment.The
connectmethod will provide more helpful error messages when it fails.Allow the
Daqclass to be used as ablueskyreadable device. Once staged, runs will end on run stop documents. A calibcycle will be run when theDaqis triggered, and triggering will be reported as done when theDaqhas stopped. This means it is viable to use theDaqinside normal plans likescanandcount.Add an argument to
Daq.begin:end_run=Truewill end the run once the daq stops running, rather than leaving the run open.Add
Daq.config_infoRestore daq state after a
blueskyplan, e.g. disconnect if we were disconnected, run if we were running, etc.Add support for scan PVs via the
ScanVarsclass. This class attaches itself to aRunEngineand knows when to update each PV, provided that theplanhas reasonable metadata.
API Changes¶
calib_cycleand relatedplansmodule has been removed, as using theDaqas a readable device is more intuitive and it’s still early enough to break my API.daq_wrapperanddaq_decoratorhave been move to thepreprocessorssubmodule, as a parallel to theblueskystructure. They have been renamed todaq_during_wrapperanddaq_during_decoratoras 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.completeno longer ends the run. This makes it more in line with theblueskyAPI.
Deprecations¶
The daq no longer needs to be passed a
platformargument. This argument will be removed in a future release, and will log a warning if you pass it.
v1.2.0 (2018-05-08)¶
Features¶
Add the
recordoption to thebeginmethod. This allows a user running interactively to concisely activate recording for single runs.
v1.1.0 (2018-03-07)¶
Features¶
Add
daq.recordproperty 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