Maybe we still need to write the image itself

This commit is contained in:
babic_a committed 2020-04-16 11:37:05 +02:00
1 parent 20b0657110
commit 8871903025
1 file changed
+5
+5
View File
@@ -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);