Commit Graph

200 Commits

Author SHA1 Message Date
augustin_s 174317189c added BSChannel.online / .offline 2020-05-17 17:40:47 +00:00
augustin_s 26bc6d233e BSChannel.avail() can now filter for a search string 2020-05-17 17:37:44 +00:00
augustin_s cfe5e01309 renamed ScanBackend.scan to .run; allowed retrieving currently running instances: Scanner remembers current ScanBackend; ScanBackend remembers current DAQTasks, Acquistions remember current DAQTask 2020-05-17 16:22:19 +00:00
augustin_s 1b0dea81fe allow changing channels also for individual scans 2020-05-17 13:19:55 +00:00
augustin_s c03b8c12c9 re-factored SwissFELPaths to use pathlib 2020-05-16 19:48:36 +00:00
augustin_s a0118e59bf catch task re-raised exception and continue scan; missed some string+string instead of os.path.join for path handling 2020-05-16 19:46:09 +00:00
augustin_s 01fb498e1d missed some args 2020-05-16 19:37:04 +00:00
augustin_s 70ff434d57 added braces around sorted arguments 2020-05-16 11:37:34 +00:00
augustin_s 06b4a38a34 added run to Task, starts and waits... 2020-05-16 11:37:02 +00:00
augustin_s 8e31284780 check method needs to be called, otherwise check is always true 2020-05-16 11:36:26 +00:00
augustin_s 107ab047b3 counters are used as index and thus have to be integers 2020-05-16 11:35:31 +00:00
augustin_s 99e62e125f permissions 2020-05-15 11:28:06 +00:00
augustin_s 96b5895357 removed #!, permissions 2020-05-15 11:27:05 +00:00
augustin_s 3fb3572196 added prototype for a lazy-connecting PV 2020-05-15 11:25:37 +00:00
augustin_s 384bdf7357 refactored Loop to use more of Task plus threading.Event 2020-05-15 11:06:47 +00:00
augustin_s 71ea13e442 added starter argument analogue to stopper 2020-05-15 11:05:30 +00:00
augustin_s 1326ab5004 added re-raise of exceptions and returning the result of func() to Task.wait() 2020-05-15 10:34:16 +00:00
augustin_s 0934d7c5f8 "scan_data" is now the default for data_base_dir 2020-05-14 16:06:29 +00:00
augustin_s b10e901423 made suffix an argument 2020-05-14 16:05:19 +00:00
augustin_s bc8b4a74b4 added sub dir logic for folder creation 2020-05-14 16:04:30 +00:00
augustin_s b251820eff only use extension in pattern for matching; renamed extension to suffix, added _scan_info. to it; flipped run_index and name in _fill_filename_pattern 2020-05-14 16:03:46 +00:00
augustin_s e1c876817e added better repr for DAQTask 2020-05-11 17:27:22 +00:00
augustin_s 5fc46cb6e5 use DAQTask in Acquisitions, moved Acquisition.can_create_all_filenames() to utils.path 2020-05-10 12:54:50 +00:00
augustin_s f50917faa1 added specialized DAQTask that holds target filename(s) 2020-05-10 11:59:14 +00:00
augustin_s 4f5ce82f1e clean up: removed superfluous kwargs, fixed os.system() arg seperator, white space, superfluous imports, lists as default arguments, forward TimedLoop args to Loop constructor, cleaner Task status logic 2020-05-10 11:57:45 +00:00
augustin_s 660ef30428 some more fake stuff 2020-05-08 14:42:28 +00:00
augustin_s fe84a41086 missed one acqs -> tasks 2020-05-08 14:41:35 +00:00
augustin_s 9f4e24869a fixed changing screenshot author 2020-05-08 14:39:35 +00:00
augustin_s c91fce67a5 forgotten import 2020-05-08 14:38:54 +00:00
augustin_s fe7b5476f9 forgotten import 2020-05-08 14:38:39 +00:00
augustin_s c727710d3a typo in Task args, renamed all_filenames to make_all_filenames 2020-05-08 14:38:24 +00:00
augustin_s fb3ab573ff refactored can_create_all_files 2020-05-07 17:51:12 +00:00
augustin_s 5cffdeaba6 changeTo -> set_target_value 2020-05-06 17:47:48 +00:00
augustin_s 9a03d83118 acquisition -> task / counter -> acquisition 2020-05-06 17:16:41 +00:00
augustin_s 01d4986e96 added a workaround for py3 zip returning iterator 2020-05-06 17:06:13 +00:00
augustin_s 43a930912d forgot a bunch of selfs 2020-05-06 16:23:51 +00:00
augustin_s cc5ebac358 default data dir is in res 2020-05-06 16:23:28 +00:00
augustin_s a26008f5b8 added fake pv name to fake epics 2020-05-06 10:25:41 +00:00
augustin_s 1ea6df3297 moved mocked unit to fake epics, added pv name to repr of PV wrapper 2020-05-06 10:24:25 +00:00
augustin_s 7ead66dc47 removed now empty controls folder 2020-05-06 10:18:37 +00:00
augustin_s ae00ab2997 moved controls.pv to utils.pv 2020-05-06 10:18:06 +00:00
augustin_s 8fcdf36425 moved eco_epics from controls to utils 2020-05-06 10:15:10 +00:00
augustin_s 2a236f32e7 added json_load to slic.utils 2020-05-06 09:55:06 +00:00
augustin_s f8951a9e4c imports ordered alphabetically 2020-05-06 09:53:55 +00:00
augustin_s 7f9639da69 moved json utils from utils.config to utils.json 2020-05-06 09:50:58 +00:00
augustin_s 58761a15c9 forgotten import 2020-05-06 09:49:10 +00:00
augustin_s 3478fe14a7 renamed utils.json_tools to utils.json 2020-05-06 09:39:02 +00:00
augustin_s a1aded7db8 renamed utils.npy_tools to utils.npy 2020-05-06 09:36:58 +00:00
augustin_s 8e416d3f50 renamed utils.ipy_tools to utils.ipy 2020-05-06 09:36:12 +00:00
augustin_s 2ffd1b55ce renamed utils.fs_tools to utils.path 2020-05-06 09:35:27 +00:00