Commit Graph

827 Commits

Author SHA1 Message Date
babic_a 854246f820 Throw correct error 2020-04-22 10:39:32 +02:00
babic_a 577221810f Fix number of input parameters 2020-04-22 10:36:23 +02:00
babic_a e18a24d341 Simple SF writer receiver 2020-04-22 10:34:51 +02:00
babic_a 0734a25d38 Fix number of input parameters 2020-04-22 10:28:57 +02:00
babic_a 3d81022f73 Small improvements 2020-04-22 00:49:10 +02:00
babic_a 50f72893e4 Add sf_replay executable 2020-04-22 00:48:56 +02:00
babic_a 29c97e32a6 Added implementation of reader + sender for a single module 2020-04-22 00:39:34 +02:00
babic_a 954d89ce7b Reordered struct for better binary transfer 2020-04-21 22:33:21 +02:00
babic_a 607b0b6fe2 Release RB for test 2020-04-21 20:32:54 +02:00
babic_a f7e7fe81a0 Initialize ring buffer 2020-04-21 20:29:32 +02:00
babic_a b94390ec5a Adjust writer to new buffer 2020-04-21 20:27:15 +02:00
babic_a 1f3d81e8b0 Add file metadata header to ring buffer 2020-04-21 20:27:02 +02:00
babic_a 635e18b422 Comment out class temporarily 2020-04-21 20:26:49 +02:00
babic_a 8cc063a38c Fix import in sf_h5_writer 2020-04-21 20:19:45 +02:00
babic_a 5294015206 Add test for buffer utils 2020-04-21 20:19:13 +02:00
babic_a 8be4c4db3f Add get path suffixes method to BufferUtils 2020-04-21 20:12:34 +02:00
babic_a 4c0dde41e5 Make stupid file writer 2020-04-21 19:45:11 +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 89328f700f Zero does not get into the final string 2020-04-21 14:02:01 +02:00
babic_a 7be45ab4c2 Fix input pulse_id resolution 2020-04-21 13:56:07 +02:00
babic_a 7348537d1d Fix dataset conflict in H5 writer 2020-04-21 13:19:31 +02:00
babic_a 085331f8ea Fix data types 2020-04-21 13:08:52 +02:00
babic_a f56fd15385 Adjust parameters passed to writer 2020-04-21 13:00:06 +02:00
babic_a c990adf0fa Add relative file index instead of using pulse id for writing 2020-04-21 12:54:50 +02:00
babic_a f080112099 Adjust help menu to removed device_name 2020-04-21 12:35:49 +02:00
babic_a 3393d609a2 Make the help menu nicer 2020-04-21 12:35:02 +02:00
babic_a 09900876b2 Calculate device name internally 2020-04-21 12:33:24 +02:00
babic_a 504eb19405 Cleanup imports 2020-04-21 12:26:36 +02:00
babic_a 9a24e238d1 Remove MPI leftover 2020-04-21 12:26:23 +02:00
babic_a 8783ca8d87 Remove format reminder 2020-04-21 12:18:28 +02:00
babic_a 9326fb0bd3 Finished reading thread 2020-04-21 12:18:18 +02:00
babic_a c9720dcccc Add stub of reading a file 2020-04-21 12:12:46 +02:00
babic_a 7c501a6269 Add core-buffer as a dependency 2020-04-21 12:03:47 +02:00
babic_a 56e4511038 Add read thread stub 2020-04-21 12:03:35 +02:00
babic_a e3da827389 Add Buffered Reader to build 2020-04-21 11:49:00 +02:00
babic_a 8b862ff445 Implement basic logic for reader 2020-04-21 11:48:50 +02:00
babic_a 7524e3fb62 Adjust interface and usage 2020-04-21 11:41:01 +02:00
babic_a db9e2dde05 Define interface for BufferedReader 2020-04-21 11:26:42 +02:00
babic_a ebd5748aa2 Writer stub 2020-04-21 11:24:42 +02:00
babic_a 968da04792 Remove MPI 2020-04-21 10:57:58 +02:00
babic_a a92b745ac9 Undo previous commit 2020-04-21 10:57:13 +02:00
babic_a 8fc02e0789 Revert back to multithreaded writer 2020-04-20 20:12:53 +02:00
babic_a 54acb47e31 Remove old classes 2020-04-20 19:57:37 +02:00
babic_a bb882189d2 Yield this thread when finished writing 2020-04-20 19:55:55 +02:00
babic_a c3de2ccb40 New single threaded sf_buffer 2020-04-20 19:55:17 +02:00
babic_a 059bd5f9d9 Refresh image dataset before loading 2020-04-20 18:43:28 +02:00
babic_a ecb3644dff Add some output to the reader 2020-04-20 18:22:49 +02:00
babic_a c26e87e5f7 Read also images from SWMR files 2020-04-20 18:16:56 +02:00
babic_a b9e4eafe52 Improve READER for more debug output 2020-04-20 17:48:05 +02:00
babic_a ddcefd584e Add method for reading latest file 2020-04-20 17:47:55 +02:00