Commit Graph

1903 Commits

Author SHA1 Message Date
hax_l cc348eeba3 assembler name based on the detector 2021-02-22 09:29:14 +01:00
hax_l 7db438671c more debug msgs. adjusts on streamer and assembler to work with frame_index instead of pulse_id. 2021-02-19 18:16:34 +01:00
hax_l dda2f9610e merge with current ram_buffer branch 2021-02-17 16:22:39 +01:00
hax_l 150bf41bf2 core adjustments for eiger header. more debug msgs 2021-02-17 16:08:59 +01:00
Dmitry Ozerov aba739ce87 print statistics from udp writer every N seconds (not N frames)
check that frame packets sending is finished (new frame) by new trigger number, not pulse_id
check if pulse_id of the frame is more or less correct (in case not - do not store that frame in the ram buffer)
2021-02-16 16:25:28 +01:00
hax_l 1de8f66bdc more debug info. bunch/pulseid adjusts. 2021-02-12 16:58:02 +01:00
hax_l 64a92eb3cd debug output when frame is finished. 2021-02-01 17:02:17 +01:00
hax_l e6718f398a source env script to work on sf-daq-4 2021-02-01 16:44:16 +01:00
hax_l 68391cc802 xMerge branch 'eiger' of https://github.com/paulscherrerinstitute/sf_daq_buffer into eiger 2021-02-01 16:11:00 +01:00
hax_l ac442f0a00 :impl of cmake flags and usage of different detector packets. 2021-02-01 16:10:45 +01:00
hax_l 66afc2da31 impl of cmake flags and usage of different detector packets. 2021-02-01 16:01:59 +01:00
hax_l 11cb0eb3ce eiger_packet definitions and initial related changes 2021-01-27 16:47:49 +00:00
babic_a 94749585d8 Add ImageBinaryWriter implementation 2021-01-19 19:09:19 +01:00
babic_a 2a9e4f2b7c Implementation of WriterStats for the live writer 2021-01-19 18:35:28 +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 402a2b978d Rework sf-stream to attach to assembler live-writer 2021-01-19 16:58:07 +01:00
babic_a d3d51d2957 Adjust stats to new stream workings 2021-01-19 16:57:41 +01:00
babic_a 53e24c9f1a Reorganize assembler main code 2021-01-19 14:06:57 +01:00
babic_a 39d714f538 Add jf-assembler executable
This service reconstructs the various modules and sends out a
image metadata stream for further consumers.
2021-01-19 14:02:57 +01:00
babic_a 65fb6c929f Remove hdf5 linking to core-buffer 2021-01-19 13:40:16 +01:00
babic_a 0df8598952 Separate image assembly and image retrieval in RamBuffer 2021-01-19 13:22:43 +01:00
babic_a ccca4225d4 Change bind and connect socket helper functions to take string 2021-01-19 13:02:03 +01:00
babic_a a3d0286250 Add missing link library to sf_writer 2021-01-19 10:56:14 +01:00
babic_a 20bf00cbbe Adjust RamBuffer test 2021-01-19 10:52:18 +01:00
babic_a e013c4a6f8 Increase number of packets read at once to 128 2021-01-15 18:18:54 +01:00
babic_a 0a3db103c5 Change stats names to use _ instead of -
Using - is causing problems in Influx -> we move to use
the executable name instead of the project name as the main
identifier.
2021-01-15 11:18:07 +01:00
babic_a fec900ff63 Increase the sf_stream output frequency to 10 seconds 2021-01-15 11:15:28 +01:00
babic_a ba9532591c Add details about unexpected pulse_id in ram buffer error 2021-01-15 11:14:54 +01:00
babic_a 3ed5bcb330 Statistics for sf-stream 2021-01-15 11:07:31 +01:00
babic_a f58ec4270c Implementation fo StreamStats for outputting Grafana metrics 2021-01-15 11:06:47 +01:00
babic_a 2937326dbf Return n_lost_pulses in sync from receiver
In order to have proper statistics we need to return the
number of lost pulses from the receiver. We cannot just count
the gap in pulse_id as the beam might be operated at
different frequencies.
2021-01-15 10:59:43 +01:00
babic_a 0cf973802d Add stream stats modulo to config file 2021-01-14 15:45:41 +01:00
babic_a dd52eea55b Reverse sync difference criteria in streamer 2021-01-13 16:20:51 +01:00
babic_a e9bb30eac8 Fix streamer sync attempts for loop 2021-01-13 16:18:47 +01:00
babic_a cb9ddb3693 Fix the count of input parameters in streamer 2021-01-13 16:14:56 +01:00
babic_a 6ee8f7d89d Remove pulse_id stream from streamer
This is not needed anymore since we have a different architecture.
2021-01-13 15:54:28 +01:00
babic_a c90114bec9 Add 0 in module_id < 10 2021-01-13 12:45:57 +01:00
babic_a 4c914ad66e Fix number of parameters check in main 2021-01-12 18:17:15 +01:00
babic_a 87e47173d1 Fix repetition rate in statistics to nice numbers 2021-01-12 16:19:58 +01:00
babic_a 19e08c3718 Invert the clocks to get a positive duration 2021-01-12 16:08:08 +01:00
Dmitry Ozerov 12a426f63a changes in jungfrau header package for 5.0.0 slsDetector version 2021-01-12 15:59:59 +01:00
babic_a d3c3641311 Fix indent in for loop 2021-01-12 13:44:40 +01:00
babic_a b00ce59fa0 Fix the number of input parameters to the executable 2021-01-12 13:44:05 +01:00
babic_a 2399b8d59e Fixed InfluxDB statistics on jf-buffer-writer 2020-10-01 10:03:41 +02:00
babic_a d776e78ab0 Fix extra character in logs output 2020-10-01 09:54:19 +02:00
babic_a 9c4478343b Change logs output format to InfluxDB 2020-10-01 09:39:08 +02:00
babic_a db4aeacad9 Whitespace fix 2020-09-30 17:03:40 +02:00
babic_a 8a3d0d1baa Simplify buffer writer 2020-09-30 14:17:33 +02:00
babic_a bf6bba801d Make it more explicit 2020-09-30 14:02:48 +02:00
babic_a 430a1507ff Add buffer folder to detector config 2020-09-30 13:56:41 +02:00