Commit Graph
321 Commits
Author SHA1 Message Date
augustin_s f39ca1fbcd merging all laser timing files 2020-08-11 23:55:12 +02:00
augustin_s a6af4af52c removed OTHER duplicated timing file 2020-08-11 23:48:08 +02:00
augustin_s d6ee7cc34e started merging the OTHER timing classes 2020-08-11 23:47:40 +02:00
augustin_s 82de280c49 removed duplicated timing file 2020-08-11 20:03:00 +02:00
augustin_s 9c49bd7a16 started merging the timing classes 2020-08-11 20:02:25 +02:00
augustin_s a5dc91efec removed TODO 2020-08-11 18:38:55 +02:00
augustin_s fc1d1c1412 method grouping 2020-08-11 15:30:57 +02:00
augustin_s 33c5215e6c moved umv/umvr into separate mix-in class; added new mix-in to Motor (which can show progress) 2020-08-11 12:35:11 +02:00
augustin_s 4f1cea5a9a simpler logic for mvr 2020-08-11 12:27:08 +02:00
augustin_s 7d3bd64a6d mvr refactor cont'd 2020-08-11 12:14:50 +02:00
augustin_s 48c017dc72 started looking into mvr 2020-08-11 12:14:03 +02:00
augustin_s 4f6ed19ba5 moved __call__ from SpecConvience to Adjustable proper 2020-08-10 19:10:25 +02:00
augustin_s 2e69a0bfa9 fixed "if not X is None" -> "if X is not None" 2020-08-10 19:07:44 +02:00
augustin_s 257efebe18 added _as_task method to Adjustable, removed Task creation and setting current_task from subclasses; added stop and moved wait to Adjustable (adjusted Motor accordingly) 2020-08-10 19:06:13 +02:00
augustin_s f826cb0a1c restructured Motor such that units are read from the underlying PVs during construction; print_limits now uses RangeBar; added print_dial to show dial/direction/offset info, in turn removed custom repr to be more consistent 2020-08-07 19:08:54 +02:00
augustin_s 7f64c194d1 Delay now accepts units and forwards them to the Adjustable constructor, allows to remove custom repr; Delay can also be named explicitly (if not, the Motor name will be used); current_task can also be set now (it is forwarded to the unterlying Motor object as in the getter case) 2020-08-07 19:03:51 +02:00
augustin_s 0f63a451fc restructured PVAdjustable and PVEnumAdjustable sucht that units are read from the unterlying PV 2020-08-07 18:58:06 +02:00
augustin_s 3d46541922 GenericAdjustable now accepts units 2020-08-07 18:56:34 +02:00
augustin_s 46230763b8 DummyAdjustable now accepts units 2020-08-07 18:56:15 +02:00
augustin_s 6f695549da Adjustable now accepts units and repr takes it into account 2020-08-07 18:55:46 +02:00
augustin_s 8210a4f279 refactored Delay class using Adjustable as baseclass 2020-08-06 18:24:02 +02:00
augustin_s e60d8d1afe repr of Adjustable now contains typename AND name (if available) instead of OR 2020-08-06 18:22:31 +02:00
augustin_s 32071b3b44 Motor stores current Task; added Motor.units and units in repr 2020-08-06 18:21:27 +02:00
augustin_s a6997523b5 added todo note on broken DummyMotor class 2020-08-06 18:19:37 +02:00
augustin_s ab1b8492cc val -> value 2020-08-06 18:19:03 +02:00
augustin_s a4cd26815d moved update_changes to unused 2020-08-05 15:48:37 +02:00
augustin_s e2570c8b28 added a (already deprecated) progress bar "attacher" class for PVs 2020-08-05 15:47:44 +02:00
augustin_s d1b3a3272d added progress bar to Motor class: added use_callback context, refactored move/status logic into separate method 2020-08-05 15:24:04 +02:00
augustin_s 26a450bca5 simplified code by using builtin issubclass 2020-08-03 12:29:12 +02:00
augustin_s 622f30b2bb added utility functions for up-/down-casting classes (via assignment to obj.__class__) 2020-08-02 19:05:47 +02:00
augustin_s 9426270f3c refactored on/off callback logic into a contextmanager 2020-08-01 16:21:34 +02:00
augustin_s 5486420ff2 added put method with progress bar to custom PV class; refactored repr of custom PV and added original repr as separate method 2020-07-31 23:42:49 +02:00
augustin_s e6caf048d4 added context manager for RangeBar; slightly reformatted bar output 2020-07-31 23:41:10 +02:00
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