Commit Graph

40 Commits

Author SHA1 Message Date
babic_a 70c6e754f3 Cleanup of version files 2020-09-29 09:56:01 +02:00
babic_a 1790544a35 Remove live stream of pulse_ids 2020-09-29 09:27:26 +02:00
babic_a c7185f249b Cleanup sf_streamer 2020-07-17 11:20:50 +02:00
babic_a 465369a322 Add pulse_id stream to streamer
The pulse_id stream can be used to synchronize components.
For example, the writer can listen for the current pulse_id
and write with 1 second delay to a file. This will help us
eliminate the need to wait for the run to complete to start
the data write request.
2020-07-16 11:27:09 +02:00
babic_a 773320799a Switch analysis socket to NOBLOCK
Since we cannot control the rate of the producer (its
whatever the detector is currently doing) we cannot afford
to block if no clients are present.
2020-07-15 10:34:54 +02:00
babic_a 6129b711ba Change processing socket from PUB to PUSH
Since processing of live data can be done at 100Hz it would
be more difficult to stream the full rate with a PUB/SUB mode.

To support distributed live analysis we move to PUSH/PULL
model, since we can support only one live processing at a time
anyway (network constraints when working with large detectors).
2020-07-15 10:29:21 +02:00
babic_a ed23b58332 Iteration over the specified modules instead of all
Left over from the development process where we used always
the 16M.
2020-06-18 13:48:49 +02:00
babic_a e0c3d673cc Reduce number of IO threads 2020-06-09 14:29:18 +02:00
babic_a 9ff5c08b9b Convert sf_stream to single thread 2020-06-09 14:24:36 +02:00
babic_a 5638071b95 Fix whitespace 2020-06-09 14:20:12 +02:00
babic_a 4c6f75eb75 Move hpp to correct folder 2020-06-09 14:18:43 +02:00
babic_a 337c3d5462 Modulo on atomic is not really supported 2020-06-09 14:14:12 +02:00
babic_a c541da141b Fix changes once the class was extracted 2020-06-09 14:10:19 +02:00
babic_a cdef401862 Extract sender from main 2020-06-09 14:03:42 +02:00
babic_a 3a50aca2f1 Fix typo 2020-06-09 14:03:31 +02:00
babic_a 69d13fc3aa Extract stream sending logic to class 2020-06-09 14:03:12 +02:00
babic_a b189d5ab34 Add lost pulses statistics 2020-06-09 13:16:26 +02:00
babic_a 71de5c5db0 Return number of lost images in resync event 2020-06-09 11:20:44 +02:00
babic_a 5e1377e00a Adapt main to the new recv class 2020-06-09 11:02:18 +02:00
babic_a c6960b5e59 Extract Receiver from module for Zmq recv and assembly 2020-06-09 10:58:47 +02:00
babic_a cca0572d3e Adapt live RecvModule 2020-06-09 10:58:11 +02:00
babic_a 51918a3707 Change atomic type to int 2020-06-09 10:19:05 +02:00
babic_a 5d2871185a Move FastQueue to sf_stream 2020-06-09 10:10:19 +02:00
babic_a c49ace75a8 Rewrite sync code 2020-06-08 17:31:12 +02:00
babic_a 08a4b891a6 Add sync limit 2020-06-08 17:28:03 +02:00
babic_a 422b599b38 Rename core_config to buffer_config namespace 2020-06-04 11:59:05 +02:00
babic_a a6e1c6c84e Move stream configs to separate file 2020-06-04 11:57:42 +02:00
babic_a 871030f2d7 Make module alignment for lower rep rates 2020-06-04 11:49:26 +02:00
babic_a 45753de39f Trimming the fat from live recv module 2020-06-04 11:41:19 +02:00
babic_a 67398de47f Remove pulse_id from module alignment 2020-06-04 11:28:40 +02:00
babic_a b3fc52e250 Shorten name of n_recv_packets 2020-06-04 10:24:40 +02:00
Dmitry Ozerov 374fc62d1e systemd scripts for JF01 and JF13 2020-06-02 14:48:00 +02:00
Dmitry Ozerov 8cec014743 propagate properly gain file to the streamvis 2020-06-02 13:03:38 +02:00
babic_a fc93b90164 Move initialization in loop 2020-06-02 12:46:54 +02:00
babic_a e9cafd7845 Merge remote-tracking branch 'origin/binary_buffer' into binary_buffer 2020-06-02 12:18:13 +02:00
babic_a 684108d833 Fixed writing JSON error 2020-06-02 12:18:08 +02:00
Dmitry Ozerov 2ab097e655 make possible to run multiple detectors(sf-buffer/sf-stream uses separate streams), for sf-stream read config parameters from json file 2020-06-02 11:58:27 +02:00
babic_a 3fc9f38e53 Improved pedestal situation 2020-06-02 10:26:13 +02:00
babic_a c0ef365628 Replace CppJSON with rapidjson 2020-06-02 10:20:57 +02:00
babic_a 8a5f594b3d Finished refactoring 2020-05-20 12:49:55 +02:00