Commit Graph

14 Commits

Author SHA1 Message Date
babic_a d339d06c6f Renamed broker agent to writer agent for the writer driver 2021-04-14 17:19:23 +02:00
babic_a c1666d92b2 Fix number of arguments in live writer input 2021-04-14 12:19:30 +02:00
babic_a ad4f184cf0 Fix statistics for live writer 2021-02-26 15:01:02 +01:00
babic_a 2324ebde4f Adjust main to new signature 2021-02-25 10:51:04 +01:00
babic_a 9a3df07331 Adjust main in live writer for metadata writes 2021-02-25 10:26:59 +01:00
babic_a 29d3e4c1cb Rewrite the writer main function 2021-02-24 08:56:29 +01:00
babic_a d0d5776675 Adjust the main for the jf-live-writer to ImageWriter 2021-01-21 10:32:50 +01:00
babic_a 6bbbd734c7 Add jf-live-writer
First implementation of the image buffer writer for the
 Jungfrau
2021-01-19 17:20:06 +01:00
babic_a 3055c5bc60 Add socket to listen for current pulse_id
The live writer will listen to the stream of pulse_ids coming
from the sf-stream in order to determine the writing delay
it needs to apply. (we will wait 1 second after the data was
written to try to read it back)
2020-07-21 13:25:44 +02:00
babic_a 9d9549b868 Remove start_pulse_id and pulse_id_step from live writer
We do not rely on start_pulse_id and pulse_id_step to
calculate the next image as we don't care which image this
will be - we write whatever we receive. This will allow us
to use an external driver for the pulses we desire to write.
2020-07-20 14:59:00 +02:00
babic_a 0441758d96 Change main writer to operate n_pulses instead of stop_pulse_id
The live writer has been changed to operate on the number of
desired pulses instead of the start and stop pulse_id. This
makes more sense in the context of live retrieval since the
stop pulse id has not been yet observed and the user would
need to calculate it anyway.
2020-07-20 14:55:37 +02:00
babic_a 8bf1088257 Remove block logic from jf-live-writer
The live writer will operate ona pulse by pulse basis to
simplify the implementation of random writes (writes of any
pulse_id defined either in advance or from an external source).
2020-07-20 11:22:50 +02:00
babic_a dbc913ee78 Update buffer folder and files naming convention
All references to folders and files inside buffer were updated.
- Base folder to write detector: detector_folder
- Name of the modules inside detector_folder: module_name
- Data grouping folders based on pulse_id: data_folder
- Data grouping files, based on pulse_id: data_file
2020-07-20 11:06:13 +02:00
babic_a 83dc003c79 Add stub for jf-live-writer
The goal of this writer is to provide immediate writing
without delay -> following the detector.
2020-07-17 11:37:29 +02:00