Commit Graph

677 Commits

Author SHA1 Message Date
babic_a 87bfee4e20 Switch to classic BufferedWriter 2020-04-16 13:22:05 +02:00
babic_a 49f2c9ff8e Fix memcpy in writer 2020-04-16 12:46:21 +02:00
babic_a 935f79ba0e Add n_recv_packets to hdf5 2020-04-16 12:37:07 +02:00
babic_a b7999b2cd1 add number of received packets to metadata 2020-04-16 12:32:55 +02:00
babic_a 75c28dfdd8 Add LATEST pointer to FS 2020-04-16 12:05:42 +02:00
babic_a 8871903025 Maybe we still need to write the image itself 2020-04-16 11:37:05 +02:00
babic_a 20b0657110 Improve memcpy 2020-04-16 11:35:04 +02:00
babic_a 7ae6187014 Buffer initialization 2020-04-16 11:31:48 +02:00
babic_a a33664d8e1 Improve pointer casting 2020-04-16 11:18:08 +02:00
babic_a 71239f232b Fix bug in sf_buffer 2020-04-16 11:16:42 +02:00
babic_a 5f9555fde9 Add buffer memory release 2020-04-16 11:12:48 +02:00
babic_a 66a0853ae0 Buffer metadata until the end when you flush the file 2020-04-16 11:11:15 +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 43d608d833 Fix lost pulse ids statistics 2020-04-15 17:38:47 +02:00
babic_a df59a8a72f Add device_name to output log 2020-04-15 17:35:45 +02:00
babic_a 204d4fc23c Flush the statistics out 2020-04-15 17:35:15 +02:00
babic_a 460f88ac5e Make stats output more concise 2020-04-15 17:32:29 +02:00
babic_a 090adb538b Output creating folder only for DEBUG mode 2020-04-15 17:31:28 +02:00
babic_a a6300035d9 Add primitive statistics 2020-04-15 17:30:26 +02:00
babic_a 020c6a46b0 Pass correct length to H5Writer 2020-04-15 17:18:16 +02:00
babic_a 3c22e1d105 Make logic more explicit 2020-04-15 17:12:32 +02:00
babic_a 8e61fddee1 Release RB properly 2020-04-15 17:05:24 +02:00
babic_a 7552ac9c90 Add folder creation to writer 2020-04-15 16:51:03 +02:00
babic_a c9a50b9e8f Add debug output to UdpReceiver 2020-04-15 16:46:42 +02:00
babic_a 3b30f7e544 Fix number of parameters in buffer 2020-04-15 16:36:58 +02:00
babic_a 5a3b97ba9e Add test for file frame index 2020-04-15 16:27:28 +02:00
babic_a 0d14f49625 Add folder name buffer utils test 2020-04-15 16:24:37 +02:00
babic_a 8c5086b15b Add buffer util tests 2020-04-15 16:17:53 +02:00
babic_a a1f1de1b1a Add tests to buffer 2020-04-15 16:17:39 +02:00
babic_a e2e9a52e48 Fix header guard on buffer utils 2020-04-15 16:17:25 +02:00
babic_a d6fcfa2db7 Move buffer utils to new header 2020-04-15 16:13:48 +02:00
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