Commit Graph

144 Commits

Author SHA1 Message Date
babic_a 3fc8de83bf Remove DetectorFrame from RB implementation 2020-04-28 15:35:22 +02:00
babic_a 98a3be727a Revert ringbuffer changes 2020-04-28 15:29:57 +02:00
babic_a 721f8d105e Remove safety check to reduce the number of locks 2020-04-28 14:57:58 +02:00
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 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 f7dc2be75f Make core-buffer folder with all common stuff used in the buffer 2020-04-17 09:51:16 +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 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 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 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 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 f81a386a7d Fix whitespace 2020-04-15 12:06:13 +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 305aef31ba Fix test to use template version of RingBuffer 2020-04-15 10:45:01 +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 35cc4cf70e Change ZMQ mode back to PULL 2020-04-15 10:42:58 +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 86b452312e Change ZMQ to SUB 2020-04-09 13:37:51 +02:00
babic_a d0961ea3d0 Temp disable compression 2020-04-09 13:35:52 +02:00
babic_a 7cb0dc1f29 Fix REST api declaration 2020-04-09 13:22:54 +02:00
babic_a 477424ab21 Add status interpretation logic 2020-04-08 17:03:21 +02:00
babic_a 11452bc0aa Remove memory order relaxation 2020-04-08 17:00:15 +02:00
babic_a e1df737e4f Implement Process shutdown 2020-04-08 16:57:07 +02:00
babic_a 93176daeee Add joining of previously finished thread to start_writing 2020-04-08 16:50:58 +02:00
babic_a b75596e8a0 Add destructor to Recv Module 2020-04-08 16:42:42 +02:00
babic_a d5258f546e Add destructor to WriteModule 2020-04-08 16:41:04 +02:00
babic_a e699a2c09a Add missing methods stubs - just to write unit tests 2020-04-08 16:29:03 +02:00