augustin_s
|
fa085478f5
|
made add/remove callback method names consistent with their PV equivalent
|
2020-07-29 13:57:49 +02:00 |
|
augustin_s
|
b20d1474b4
|
renamed value_in_range.py update_changes.py
|
2020-07-29 13:54:26 +02:00 |
|
augustin_s
|
c8cabfe38e
|
renamed value_in_range.py update_changes.py
|
2020-07-29 13:52:53 +02:00 |
|
augustin_s
|
90216ab896
|
rewrote ValueInRange, moved it to utils as RangeBar
|
2020-07-29 13:51:19 +02:00 |
|
augustin_s
|
b55f3f612e
|
adjusted Delay to renamed .Id -> .pvname on Motor; adjusted SolidTargetDetectorPBPS to removed elog argument
|
2020-07-28 23:20:40 +02:00 |
|
augustin_s
|
0b67e8471a
|
removed tabs in comments
|
2020-07-28 18:50:36 +02:00 |
|
augustin_s
|
308c6cfde0
|
formatting
|
2020-07-28 14:28:33 +02:00 |
|
augustin_s
|
dca5ed09ae
|
formatting
|
2020-07-28 14:08:46 +02:00 |
|
augustin_s
|
7a5e599531
|
switched from MotorRecord (old and new) to Motor
|
2020-07-28 12:11:10 +02:00 |
|
augustin_s
|
b300eeb7de
|
renamed _Motor -> EpicsMotor
|
2020-07-26 21:45:26 +02:00 |
|
augustin_s
|
3a8815ba2d
|
added AdjustableError to slic.core.adjustable
|
2020-07-26 21:44:05 +02:00 |
|
augustin_s
|
63a2547941
|
use a little more explicit name: check -> check_limits
|
2020-07-26 00:12:16 +02:00 |
|
augustin_s
|
5097af1b63
|
cont'd refactor Motor class
|
2020-07-26 00:09:59 +02:00 |
|
augustin_s
|
8266908d12
|
fixed oversight: store pvname on object
|
2020-07-26 00:08:17 +02:00 |
|
augustin_s
|
9bc21fb5e8
|
cont'd refactor Motor class
|
2020-07-22 19:16:11 +02:00 |
|
augustin_s
|
7bf6ee9a9e
|
started to refactor Motor class
|
2020-07-22 19:01:01 +02:00 |
|
augustin_s
|
af41caad70
|
formatting
|
2020-07-20 17:57:17 +02:00 |
|
augustin_s
|
db3376c551
|
replaced PvEnum with PVEnumAdjustable
|
2020-07-18 16:54:05 +02:00 |
|
augustin_s
|
72c3dc95aa
|
added PVEnumAdjustable for PVs with several states
|
2020-07-18 16:45:49 +02:00 |
|
augustin_s
|
1898f122ff
|
typo
|
2020-07-18 11:51:18 +02:00 |
|
augustin_s
|
cac5e3ff2a
|
replaced PvRecord with PVAdjustable
|
2020-07-17 19:28:22 +02:00 |
|
augustin_s
|
02bdfe6f74
|
removed DefaultRepresentation mixin, moved code to only place (AdjustableVirtual) where it is still used for easier refactor
|
2020-07-17 19:06:43 +02:00 |
|
augustin_s
|
b2f2ac441b
|
started adjustable refactor; moved code to Adjustable for more re-use
|
2020-07-17 19:01:53 +02:00 |
|
augustin_s
|
289db68b15
|
moved/adjusted PVAdjustable code
|
2020-07-16 14:25:07 +02:00 |
|
augustin_s
|
536e2cfb66
|
turned default_representation and spec_convenience decorators into mixins
|
2020-07-15 19:33:32 +02:00 |
|
augustin_s
|
3dfad81c43
|
base MotorRecord on Adjustable
|
2020-07-15 16:19:50 +02:00 |
|
augustin_s
|
352ff90cd4
|
base GenericAdjustable on Adjustable instead of BaseAdjustable
|
2020-07-15 16:19:23 +02:00 |
|
augustin_s
|
56497fe723
|
import some adjustable classes
|
2020-07-15 16:18:25 +02:00 |
|
augustin_s
|
6cb5eaebe2
|
added registry functionality to BaseAdjustable
|
2020-07-15 16:17:07 +02:00 |
|
augustin_s
|
fa115981dd
|
first clean up
|
2020-07-15 16:15:21 +02:00 |
|
augustin_s
|
e2db2d36a1
|
moved motors_new helper from adjustable to separate file
|
2020-07-15 16:13:52 +02:00 |
|
augustin_s
|
a832ab2d65
|
moved DummyAdjustable to core/adjustable
|
2020-07-15 16:12:10 +02:00 |
|
augustin_s
|
52f0fdba40
|
added Registry class and instances() function, which allow to automatically register/show instances of a class (and optionally its subclasses); for convenience, also added a combined Registry and ABC base class
|
2020-07-13 17:40:08 +02:00 |
|
augustin_s
|
b32ef07cfd
|
catch KeyboardInterrupt in the direct call case
|
2020-07-04 20:33:12 +02:00 |
|
augustin_s
|
78e36d1be6
|
try/finally in DAQTask.wait() to make sure task.filenames is also set after a ctrl-c
|
2020-07-04 20:28:28 +02:00 |
|
augustin_s
|
5f68de3eef
|
commented scan num, step num and sub-folder logic
|
2020-07-04 20:24:42 +02:00 |
|
augustin_s
|
263d13f08b
|
make TaskError a ChainedException
|
2020-07-04 16:18:52 +02:00 |
|
augustin_s
|
42a9b672e3
|
added ChainedExceptions, which print their cause as well
|
2020-07-04 16:17:34 +02:00 |
|
augustin_s
|
5a1b152679
|
allow scan to stop if the task caught the ctrl-c: re-raise KeyboardInterrupt in Task.wait(), catch and re-raise (instead of only printing it) KeyboardInterrupt in wait_for_all(tasks)
|
2020-07-04 13:47:26 +02:00 |
|
augustin_s
|
cd0cfef0b1
|
moved progress bar update before break (in order to see the final update)
|
2020-07-04 12:54:57 +02:00 |
|
augustin_s
|
c2c4fcfe87
|
Release v0.0.2
0.0.2
|
2020-07-03 18:37:06 +02:00 |
|
augustin_s
|
1976607254
|
adopt sf_daq name: renamed "NuDIAr" to "SF"
|
2020-07-03 18:09:45 +02:00 |
|
augustin_s
|
a40f83dfe5
|
align pids also when stopped early
|
2020-07-03 11:22:43 +02:00 |
|
augustin_s
|
4c2ec2aa6e
|
made it possible to stop task.wait() via ctrl-c
|
2020-07-03 11:20:55 +02:00 |
|
augustin_s
|
fb2f2afe53
|
Added wait=bool argument to acquisitions (default: True). If a static acquire() is directly called, the task is waiting (/blocking) now. This allows to see the result or an exceptions without the need for calling wait() manually. For scans, acquire_all() sets wait=False such that tasks can still run in parallel.
|
2020-07-03 00:07:13 +02:00 |
|
augustin_s
|
65f8bfd4ed
|
clamp the elapsed of the progress bar between 0 and total
|
2020-07-02 20:48:00 +02:00 |
|
augustin_s
|
5f72517aac
|
prefix for name generator from "run" to "scan"
|
2020-07-02 20:26:03 +02:00 |
|
augustin_s
|
5d1b54c34a
|
current_tasks defaults to empty list instead of None
|
2020-07-02 12:31:32 +02:00 |
|
augustin_s
|
d4515028ef
|
no data means no good data
|
2020-07-02 12:30:54 +02:00 |
|
augustin_s
|
06eb8bae7b
|
allow to gracefully stop a scan via ctrl-c
|
2020-07-02 12:11:45 +02:00 |
|