Commit Graph

643 Commits

Author SHA1 Message Date
babic_a e293255b09 Refactor SF buffer file 2020-04-15 16:12:27 +02:00
babic_a 619cffe0d5 Add method for changing filename to H5 writer 2020-04-15 15:49:17 +02:00
babic_a 9b787e2264 First stab of sf_buffer 2020-04-15 15:31:31 +02:00
babic_a 1761f362df Add daq_rec value 2020-04-15 15:28:41 +02:00
babic_a b571c4909b Use nullptr instead of NULL 2020-04-15 15:08:31 +02:00
babic_a 72efda0701 Improve UdpRecvModuleTest 2020-04-15 15:06:50 +02:00
babic_a 50148a7913 Rename variable 2020-04-15 15:04:10 +02:00
babic_a eea8b57f13 Add new line to RB debug output 2020-04-15 15:03:55 +02:00
babic_a d5c3b9d858 Rename RB initialization variable 2020-04-15 14:49:27 +02:00
babic_a cb3708b060 Adjust whitespace in exception test 2020-04-15 14:36:54 +02:00
babic_a 9259553f95 Fix pointer check in UdpRecvModule 2020-04-15 14:36:22 +02:00
babic_a 87db231c5d Add UdpRecvModule tests 2020-04-15 14:31:58 +02:00
babic_a 796facc182 Use Mock UDP port 2020-04-15 14:24:41 +02:00
babic_a 055eeb0065 Externalize in mock class 2020-04-15 14:22:50 +02:00
babic_a 50fb6158af Introduce more UdpReceiver tests 2020-04-15 14:09:10 +02:00
babic_a 2c47f97306 Add UdpReceiver test 2020-04-15 13:54:22 +02:00
babic_a 9b4323f803 Add stop capability to UDPRecvModule 2020-04-15 13:38:09 +02:00
babic_a d013bf6da3 First implementation of UDP receiver core 2020-04-15 13:25:31 +02:00
babic_a 24b0bcbf38 Move Jungfrau header to core-writer 2020-04-15 13:25:20 +02:00
babic_a 5d73a381f4 Add todo to make code more robust 2020-04-15 13:14:12 +02:00
babic_a 5df4afd509 Finalize UDP Recv implementation 2020-04-15 13:01:38 +02:00
babic_a f7517095d0 First UDP socket recv implementation 2020-04-15 12:58:51 +02:00
babic_a 5696335e6c Add usec timeout for socket 2020-04-15 12:54:29 +02:00
babic_a 626f4f9953 Remove unused header value 2020-04-15 12:34:02 +02:00
babic_a a3de3ae15c Implement basic recv loop 2020-04-15 12:33:50 +02:00
babic_a f81a386a7d Fix whitespace 2020-04-15 12:06:13 +02:00
babic_a d182f35e22 Add delay to relax test timing 2020-04-15 12:06:02 +02:00
babic_a c634498b8e Fix tests to pass reference to header map 2020-04-15 12:02:29 +02:00
babic_a 49018dd102 Remove useless declaration 2020-04-15 11:56:19 +02:00
babic_a 03579fe403 Protect empty header value types in H5WriteModule 2020-04-15 11:56:03 +02:00
babic_a 4b6b80afc9 Protect empty header value types in ZmqReceiver 2020-04-15 11:55:49 +02:00
babic_a 188fc93dd9 Protect empty header value types 2020-04-15 11:55:30 +02:00
babic_a 2282df9056 Check if no header values in RB 2020-04-15 11:54:22 +02:00
babic_a 019ae281fe Guard access to the header values type 2020-04-15 11:21:28 +02:00
babic_a b1e2a4f4a1 Add UdpFrameMetadata 2020-04-15 11:08:12 +02:00
babic_a 215c846b4f Make the test more clear 2020-04-15 11:00:19 +02:00
babic_a 305aef31ba Fix test to use template version of RingBuffer 2020-04-15 10:45:01 +02:00
babic_a b8d6b0deb5 Add calculated field to JF header 2020-04-15 10:44:20 +02:00
babic_a 98da2ec0de Adjust modules to use the template version of RingBuffer 2020-04-15 10:43:57 +02:00
babic_a 22e0af6200 Make RB a template class 2020-04-15 10:43:40 +02:00
babic_a 1e312d6a42 Init buffer and add simple recv logic 2020-04-15 10:43:28 +02:00
babic_a 410592a759 Fix indent 2020-04-15 10:43:10 +02:00
babic_a 35cc4cf70e Change ZMQ mode back to PULL 2020-04-15 10:42:58 +02:00
babic_a b1cde5eea5 Add simple recv test to ZmqReceiver 2020-04-15 10:42:39 +02:00
babic_a 707d36204e Stub for buffer 2020-04-15 09:54:30 +02:00
babic_a 6cf0485c6e Add jungfrau packet structure 2020-04-15 09:53:17 +02:00
babic_a f7cc2aa34b Add sf-buffer sub project 2020-04-15 09:52:59 +02:00
babic_a ca5cf7c3d3 Make explicit use of optional value 2020-04-09 14:16:28 +02:00
babic_a edc2534b6e Set timeout in new way 2020-04-09 14:06:57 +02:00
babic_a 066d1bd514 Only 1 receiver on SF 2020-04-09 13:40:26 +02:00