Commit Graph

124 Commits

Author SHA1 Message Date
babic_a e15b285a3e Cleanup settings in UdpReceiver 2020-05-11 17:32:49 +02:00
babic_a 7f3c2c814e Rename classes to new standard
Prefix all Buffer related classes with Buffer.
2020-05-11 13:54:49 +02:00
babic_a 0ca06b8e7a Remove all DEBUG_OUTPUT references
It turnes out it is not as useful as in the writer project.
2020-05-11 13:52:29 +02:00
babic_a 5df92a976e Improve logic for loaded packet 2020-05-11 13:46:05 +02:00
babic_a 9c99350442 First working version of BufferUdpReceiver 2020-05-11 12:42:55 +02:00
babic_a 9b75a6d991 Improve code flow in sf_buffer 2020-05-11 12:37:32 +02:00
babic_a 67e59c8360 New class BufferUdpReceiver 2020-05-11 12:31:56 +02:00
Dmitry Ozerov 85c0fff417 Merge branch 'master' of https://github.com/paulscherrerinstitute/sf_daq_buffer 2020-05-09 23:27:58 +02:00
Dmitry Ozerov 8c33c9cc98 wait that receiver thread is finished, is_good_fame check added, poor man current pulse_id script 2020-05-09 23:25:46 +02:00
babic_a 4912bbe38d Adjust settings to new config 2020-05-08 14:25:01 +02:00
babic_a 7ed1166edd Use class variables instead of function parameters 2020-05-08 10:40:21 +02:00
babic_a ddde32a8c2 Add thread stopping function 2020-05-08 10:37:09 +02:00
babic_a 3c6805a8e6 Add resync capabilities to sf_streamer 2020-05-08 10:33:25 +02:00
babic_a 54de3697e4 Remove SWMR from BufferWriter 2020-05-07 09:53:28 +02:00
babic_a 225f8569be Remove setting nice value inside recv thread 2020-05-06 16:53:54 +02:00
babic_a 1db5b2560e Reduce nice level 2020-05-06 16:45:19 +02:00
babic_a 6c0a744389 Set udp recv thread priority 2020-05-06 16:13:46 +02:00
babic_a 0aaad2da25 Same copy constructor bug as before 2020-05-06 16:01:25 +02:00
babic_a 57bea8a582 Fix subscription error 2020-05-06 15:51:30 +02:00
babic_a e5e9d4074f Remove zmq context from thread parameter 2020-05-06 15:40:20 +02:00
babic_a be3050d471 Fix auto reference instead of copy 2020-05-06 14:54:08 +02:00
babic_a af9027fe66 Changed recv function signature with complete pointer type 2020-05-06 12:47:59 +02:00
babic_a c075faa376 Add end line to debug output 2020-05-06 12:04:57 +02:00
babic_a 032fe93bce Remove destroying of context
We don't create it, we don't destroy it.
2020-05-06 10:39:59 +02:00
babic_a b31b6cddf9 Fixed bug in queue slot allocation
(Of course it can really happen!)
2020-05-06 10:29:33 +02:00
babic_a 7b524501c0 Fix ZMQ exceptions and error reporting 2020-05-06 10:28:07 +02:00
babic_a 94d71e7d40 First attempt at LiveRecvModule 2020-05-05 13:36:11 +02:00
babic_a 211aef0181 Switch implementation to module frame buffer 2020-05-05 12:18:22 +02:00
babic_a a4a67532d1 Add temporary implementation for arrays 2020-05-05 12:11:24 +02:00
babic_a ac245fe638 Comment out future TODO 2020-05-04 18:41:02 +02:00
babic_a 6f766746d6 Thread fine-tuning 2020-05-04 18:37:41 +02:00
babic_a 11b5bde2dc Yield instead of sleep in case of no msg 2020-05-04 18:06:13 +02:00
babic_a f3c6990bed Fix imports in buffered Writer 2020-05-04 13:58:47 +02:00
babic_a e2278860a2 Optimize BufferH5Writer.cpp 2020-05-04 13:56:42 +02:00
babic_a 261d4751e5 Rename buffer writer 2020-05-04 12:50:33 +02:00
babic_a ad87d239e4 Cast daq_rec to the correct type 2020-05-04 12:45:27 +02:00
babic_a 5408be95e1 Reorder operations 2020-05-04 12:35:01 +02:00
babic_a a6d065a285 Make UdpReceiver quicker and more simple 2020-05-04 12:17:54 +02:00
babic_a 7841a70698 Started cleanup of UdpRecvModule 2020-05-04 10:17:36 +02:00
babic_a 6bc82e437a Add module frame to FastQueue 2020-05-04 09:53:07 +02:00
babic_a c001faac9a Comment out not yet working code 2020-05-04 09:16:36 +02:00
babic_a 6253e53a19 Add partial implementation of LiveH5Reader 2020-05-01 13:56:24 +02:00
babic_a 6dd2fbbb1c Remove unused import 2020-05-01 13:10:16 +02:00
babic_a 6df2457dd7 Stubs for LiveH5Reader 2020-05-01 12:41:50 +02:00
babic_a 02acff7e59 Short refactoring of UDP Receiver 2020-04-29 17:40:09 +02:00
babic_a be538ddd78 Moved RingBuffer to core 2020-04-29 17:39:57 +02:00
babic_a 4f1db2e0ed Moved from core-writer to core-buffer 2020-04-29 17:34:42 +02:00
babic_a 6949fe28fb Move UDP recv parameter to core-buffer 2020-04-29 17:34:26 +02:00
babic_a bc6382e2b6 Fix dataset creation bug 2020-04-29 16:04:46 +02:00
babic_a bb93591f00 Fix bug in dataset creation 2020-04-29 15:22:17 +02:00