Commit Graph

234 Commits

Author SHA1 Message Date
augustin_s 506222bcb8 moved the calc. of the progress bar pos. into a separate class 2020-07-01 11:27:28 +02:00
augustin_s 6121c7f408 cleaned up prog. bar calc. a bit 2020-07-01 00:25:48 +02:00
augustin_s c583187b71 workaround for oversight in set_config 2020-06-30 23:47:39 +02:00
augustin_s e0ab620809 corrected calc. of progress bar for rate_multiplicator and wrong start at -1 2020-06-30 23:45:31 +02:00
augustin_s cdd085eabc added check on empty sequence to maxlen() 2020-06-30 21:10:40 +02:00
augustin_s 52e8ae0c57 collect filenames after waiting for all tasks (in nuDIA the run number is needed for the filenames but is only available after sending out the request, which is only possible after the stop pid is through 2020-06-28 18:53:35 +02:00
augustin_s d37c237095 re-factored BrokerClient 2020-06-28 15:33:22 +02:00
augustin_s 08f74f309d calculate start and stop pids that are correctly aligned to rep rate 2020-06-14 23:27:55 +02:00
augustin_s 090188f7c6 don't retrieve for empty filename or if filename is /dev/null; added a tqdm progress bar for the waiting; store the run number and print it in Acq. status 2020-06-08 22:16:56 +02:00
augustin_s 2220d9ac22 PIDs should probably be ints 2020-06-08 16:39:59 +02:00
augustin_s dea48732f7 added an Acquistion under the placeholder name: "New unnamed DIA replacement" (NuDIAr) 2020-06-08 15:44:07 +02:00
augustin_s 3aff2cfab4 added start/stop logic to BrokerClient prototype 2020-06-08 15:07:53 +02:00
augustin_s 1fec281360 added some tools for the broker DAQ 2020-06-08 14:19:20 +02:00
augustin_s ecb2c6ff22 added a BrokerClient prototype (see also https://github.com/paulscherrerinstitute/sf_databuffer_writer/blob/c8e0553ecb6f7ee207c18ba2b6e5f21ff6d6dfae/client/README.md) 2020-06-07 20:58:07 +02:00
augustin_s 742013703a slightly more verbose installation instructions 2020-06-07 20:13:22 +02:00
augustin_s 2b1153829b changed order of "create new conda env" and "install into current conda env" 2020-06-07 20:08:48 +02:00
augustin_s 98a7dfdeef added cam_server as dependency (Qt makes this a quite large dep.) 2020-06-07 20:04:06 +02:00
augustin_s 0aa1342937 updated readme with conda installation method 2020-06-05 17:54:17 +02:00
augustin_s 7218b45471 added imports to several __init__.py files 2020-06-05 15:53:34 +02:00
augustin_s 5e556443d3 added some comments to travis yml 2020-06-04 22:10:26 +02:00
augustin_s 217e476e6f replace sourcing conda.sh with export PATH 0.0.1 2020-06-04 19:45:28 +02:00
augustin_s 8a6a38360c remove miniconda.sh from Travis after installing it, added conda-verify 2020-06-04 19:35:19 +02:00
augustin_s ca8b92ab76 missed a dot 2020-06-04 19:09:56 +02:00
augustin_s 3469a38d58 added files for packaging: setuptools, travis, conda 2020-06-04 18:51:21 +02:00
augustin_s 4fc34270de fixed typo "epics" -> "pyepics" in package names. 2020-06-04 18:32:08 +02:00
augustin_s 9061fe782f headline formatting fixed 2020-06-02 23:36:14 +02:00
augustin_s a7357c3d3c added readme 2020-06-02 23:33:48 +02:00
augustin_s 4f180dd305 moved eco init to eco_components 2020-05-27 20:09:30 +02:00
augustin_s 307ba4d9c9 added a .gitignore 2020-05-27 20:09:18 +02:00
augustin_s 63ceb0eb0b started to write doc strings 2020-05-20 21:51:14 +00:00
augustin_s 004cc7c804 fixed spaces vs. tab; fixed imports for unused stuff 2020-05-20 21:50:33 +00:00
augustin_s 478ce08306 added some nicer printing to BSChannels 2020-05-18 13:03:14 +00:00
augustin_s b19cb2ab7e made the channel search case insensitive 2020-05-17 21:41:57 +00:00
augustin_s 579b3a0aaf BSChannel can be initialized from file, cleaned up utils.channels 2020-05-17 19:02:01 +00:00
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