mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-30 23:32:21 +02:00
Base pulse id instead of start
Since we stream from the start of the file and not from the specific pulse
This commit is contained in:
@@ -142,7 +142,10 @@ int main (int argc, char *argv[]) {
|
||||
auto path_suffixes =
|
||||
BufferUtils::get_path_suffixes(start_pulse_id, stop_pulse_id);
|
||||
|
||||
size_t current_pulse_id = start_pulse_id;
|
||||
uint64_t base_pulse_id = start_pulse_id / core_buffer::FILE_MOD;
|
||||
base_pulse_id *= core_buffer::FILE_MOD;
|
||||
|
||||
size_t current_pulse_id = base_pulse_id;
|
||||
string filename_base = device + "/" + channel_name + "/";
|
||||
|
||||
for (const auto& suffix:path_suffixes) {
|
||||
|
||||
Reference in New Issue
Block a user