DAQ scans should correctly consider both arguments, and respect the defaults.
Current Behavior
Reported by @vespos
RE(bp.daq_count([], duration=10, record=False))
...
RuntimeError: Cannot start daq in scan step, did not configure events or duration.
# If I specify a events argument, then it runs fine, but ignores the duration.
Possible Solution
It seems the DAQ interface only works with one of events and duration, but not both. The daq scans are passing the arguments to bps.configure(daq, ... ), which must house the error.
Expected Behavior
DAQ scans should correctly consider both arguments, and respect the defaults.
Current Behavior
Reported by @vespos
Possible Solution
It seems the DAQ interface only works with one of
events
andduration
, but not both. The daq scans are passing the arguments tobps.configure(daq, ... )
, which must house the error.Context
Vincent encountered this when some scans failed
Your Environment
pcds-5.4.1?