mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-24 07:50:44 +02:00
Maybe we still need to write the image itself
This commit is contained in:
@@ -108,6 +108,11 @@ int main (int argc, char *argv[]) {
|
||||
|
||||
auto file_frame_index = get_file_frame_index(pulse_id);
|
||||
|
||||
writer.write_data(
|
||||
"image", file_frame_index,
|
||||
data.second, {512,1024},
|
||||
JUNGFRAU_DATA_BYTES_PER_FRAME, "uint16", "little");
|
||||
|
||||
memcpy((void*) (buffer_pulse_id + file_frame_index),
|
||||
(void*) (&data.first->pulse_id), 8);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user