Commit Graph

207 Commits

Author SHA1 Message Date
babic_a ba9532591c Add details about unexpected pulse_id in ram buffer error 2021-01-15 11:14:54 +01:00
babic_a 430a1507ff Add buffer folder to detector config 2020-09-30 13:56:41 +02:00
babic_a 3d21216094 Add udp port to config file 2020-09-30 13:34:09 +02:00
babic_a ae61ccae17 Fix namespace of function 2020-09-30 11:34:54 +02:00
babic_a 9de3e896af Add configuration loading code to core-buffer 2020-09-30 10:45:40 +02:00
babic_a 3553541c96 Fix interface for reading frames 2020-09-24 11:32:44 +02:00
babic_a f16a81ed52 Change interface to use reference
This makes the receiver nicer.
2020-09-24 09:10:28 +02:00
babic_a b54f351089 Fix const correctness in buffer 2020-09-24 08:37:02 +02:00
babic_a a5629616d9 Create common connect and bind zmq methods 2020-09-24 08:33:45 +02:00
babic_a d858b4dc56 Fix memory offset bug in RamBuffer 2020-09-22 10:15:20 +02:00
babic_a 2f892539be Add reminder for improvement 2020-09-21 09:48:38 +02:00
babic_a b6360aceda Initialize the struct in case no frame is good in a slot 2020-09-04 13:11:49 +02:00
babic_a 13f46908c5 Small fixes to RamBuffer before tests 2020-09-04 13:00:31 +02:00
babic_a bf1a5a928b Remove module id from RamBuffer
Module id is already present in the buffer package.
2020-09-04 12:54:41 +02:00
babic_a 352aefef26 Add back n_slots to RamBuffer
In tests you don't want it to consume all your ram.
2020-09-04 12:45:59 +02:00
babic_a 4a031d6e62 Refactor RamBuffer 2020-09-04 12:31:57 +02:00
babic_a b3ddb922e9 Improve on shared buffer class 2020-09-04 10:35:50 +02:00
babic_a 28d407fb0e Implement common class for RamBuffer 2020-09-02 15:16:02 +02:00
babic_a 20f5557cc1 Add proper cleanup 2020-09-02 14:00:30 +02:00
babic_a 5b9b650803 Add stub implementation of RamBufferWriter 2020-09-02 13:39:26 +02:00
babic_a dbc913ee78 Update buffer folder and files naming convention
All references to folders and files inside buffer were updated.
- Base folder to write detector: detector_folder
- Name of the modules inside detector_folder: module_name
- Data grouping folders based on pulse_id: data_folder
- Data grouping files, based on pulse_id: data_file
2020-07-20 11:06:13 +02:00
babic_a 5d2871185a Move FastQueue to sf_stream 2020-06-09 10:10:19 +02:00
babic_a 6503c9b4e9 Lets make fast queue slower 2020-06-08 17:57:54 +02:00
babic_a 422b599b38 Rename core_config to buffer_config namespace 2020-06-04 11:59:05 +02:00
babic_a bbf604675e Merge buffer and writer utils 2020-06-04 10:55:43 +02:00
babic_a c6efda3c12 Remove unused implementation of FastQueue 2020-06-04 10:00:09 +02:00
babic_a 6995e71543 Exchange implementation 2020-05-27 12:13:08 +02:00
babic_a 01776e12ad Rename ImageMetadataBlock 2020-05-27 10:21:02 +02:00
babic_a 78b2524f20 New ReplayBuffer struct for data transfer 2020-05-26 12:55:46 +02:00
babic_a fcb37d3ebc Remove unused template 2020-05-25 14:33:23 +02:00
babic_a 2cae760d4a Add fast queue to commons 2020-05-20 12:40:32 +02:00
babic_a b45b7d17fa Major project refactoring WIP 2020-05-20 11:45:34 +02:00
babic_a 62f09eb120 Merged to 1 project 2020-05-20 11:09:23 +02:00
babic_a 888a36f086 Fix bug in image buffer offset 2020-05-20 10:40:36 +02:00
babic_a 3a7146b8ad Fix bug in dataset count 2020-05-19 17:26:58 +02:00
babic_a 22eff33e6d Fixed Writer to support Buffering 2020-05-19 16:23:21 +02:00
babic_a 9549b6be45 Use constant instead of literal 2020-05-19 16:14:05 +02:00
babic_a bf0b7ba605 Remove compression relicts 2020-05-19 16:12:02 +02:00
babic_a 3b9bbdf01f Add FastQueue specialization 2020-05-19 16:11:34 +02:00
babic_a 911c44bda5 Implement buffered fast queue 2020-05-19 16:11:22 +02:00
babic_a c747370e8b Too slow, does not make sense 2020-05-19 14:50:03 +02:00
babic_a 6c4a7fd6a7 Re-enable compression for a test 2020-05-19 14:47:59 +02:00
babic_a 91369b4b40 Remove basedir again 2020-05-19 14:32:02 +02:00
babic_a a6fcde9da2 Add base dir to writer 2020-05-19 14:28:07 +02:00
babic_a 158f557309 Fixed bug in writer 2020-05-19 13:38:36 +02:00
babic_a e49a9ef60b Remove compression from WriterZmqReceiver 2020-05-19 13:34:49 +02:00
babic_a b54327a001 Remove compression and add chunking to WriterH5Writer 2020-05-19 13:30:54 +02:00
babic_a a7f3091d4a Rename struct variable 2020-05-19 13:08:18 +02:00
babic_a 03e2e6fda4 Rename size attribute of StreamModuleFrame 2020-05-19 12:31:25 +02:00
babic_a 3b08ceed4b Rename CompressedModuleFrame into StreamModuleFrame 2020-05-19 12:26:55 +02:00