From 89093857acc99873437fa37f86765a747a9b503e Mon Sep 17 00:00:00 2001 From: David Meyer Date: Wed, 1 Sep 2021 11:04:25 -0400 Subject: [PATCH] Quick fix for Spinnaker debugging as recommended in #72. --- labscript_devices/SpinnakerCamera/blacs_workers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/labscript_devices/SpinnakerCamera/blacs_workers.py b/labscript_devices/SpinnakerCamera/blacs_workers.py index b5cbc9c0..6bb6d9af 100644 --- a/labscript_devices/SpinnakerCamera/blacs_workers.py +++ b/labscript_devices/SpinnakerCamera/blacs_workers.py @@ -234,8 +234,8 @@ def stop_acquisition(self): num_frames=self.get_attribute('StreamTotalBufferCount', stream_map=True) failed_frames=self.get_attribute('StreamFailedBufferCount', stream_map=True) underrun_frames=self.get_attribute('StreamBufferUnderrunCount', stream_map=True) - print('Stream info: %d frames acquired, %d failed, %d underrun' % - (num_frames, failed_frames, underrun_frames)) + print('Stream info: %s frames acquired, %s failed, %s underrun' % + (str(num_frames), str(failed_frames), str(underrun_frames))) def abort_acquisition(self): print('Stopping acquisition...')