Commit Graph

208 Commits

Author SHA1 Message Date
babic_a 8b46382226 Add detector frame to ringbuffer 2020-04-23 11:31:31 +02:00
babic_a 1df947b118 Remove RB initialization of File meta 2020-04-22 15:18:53 +02:00
babic_a 4116ea04cf Moved File metadata from RingBuffer to buffer utils 2020-04-22 15:18:19 +02:00
babic_a d5fb4f4dc0 Test partial buffering 2020-04-22 15:12:19 +02:00
babic_a 954d89ce7b Reordered struct for better binary transfer 2020-04-21 22:33:21 +02:00
babic_a 1f3d81e8b0 Add file metadata header to ring buffer 2020-04-21 20:27:02 +02:00
babic_a 77141a559c Ringbuffer returns nullptr when the buffer is full
This feature will allow us to make a push/pull mechanism for the sf_h5_writer.
All classes using RingBuffer have been updated to maintain the exact same behaviour as before.
2020-04-21 17:25:22 +02:00
babic_a 51398276fa Move Udp headers to correct location 2020-04-17 16:07:24 +02:00
babic_a 58407c28f8 Add multi recv to UdpReceiver 2020-04-17 15:59:21 +02:00
babic_a cb6075560d Remove individual packet tracking 2020-04-17 14:57:33 +02:00
babic_a e1015f3ce9 Move jungfrau header to core-buffer 2020-04-17 09:57:25 +02:00
babic_a f7dc2be75f Make core-buffer folder with all common stuff used in the buffer 2020-04-17 09:51:16 +02:00
babic_a ed774b1817 Fix ProcessManager timing issue 2020-04-17 09:50:56 +02:00
babic_a b7999b2cd1 add number of received packets to metadata 2020-04-16 12:32:55 +02:00
babic_a b65dc40ccb Fix bug in folder creation 2020-04-16 10:47:11 +02:00
babic_a ec7d43e063 Adjust sleep to one iteration at 100Hz 2020-04-16 10:44:42 +02:00
babic_a a4354d83cc Adjust tests for new behaviour of UdpReceiver 2020-04-16 10:43:25 +02:00
babic_a 6074cb4705 Preemptive slot reservation in RB 2020-04-16 10:43:06 +02:00
babic_a 090adb538b Output creating folder only for DEBUG mode 2020-04-15 17:31:28 +02:00
babic_a c9a50b9e8f Add debug output to UdpReceiver 2020-04-15 16:46:42 +02:00
babic_a 619cffe0d5 Add method for changing filename to H5 writer 2020-04-15 15:49:17 +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 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