last_image_saved is updated when a scan is started with save=False
I used that
TEST_SESSION [4]: SCAN_DISPLAY.auto=True
...: lima = config.get("pco_linux_id19")
...: s1 = ascan(roby, 0, 10,5,0.1,lima, save=False)
Here is few logs from the lima acquisition device
{'channel_index': 0, 'channel_name': 'pco_linux_id19:image', 'channel_data_node': <bliss.data.nodes.lima.LimaImageChannelDataNode object at 0x7fc4180952e8>}
acq_trigger_mode INTERNAL_TRIGGER
{'buffer_max_number': 1603, 'last_image_acquired': 1, 'last_image_ready': 1, 'last_counter_ready': 0, 'last_image_saved': 1, 'ready_for_next_image': True, 'acq_state': 'ready'} 1
store {'name': 'pco_linux_id19:image', 'description': {'reference': True, 'acq_mode': 'SINGLE', 'acq_nb_frames': 1, 'acq_expo_time': 0.1, 'acq_trigger_mode': 'INTERNAL_TRIGGER', 'acc_time_mode': 'LIVE', 'acc_max_expo_time': 1.0,
'latency_time': 0, 'ctrl_params': {}, 'saving_statistics_history': 6, 'saving_format': 'EDF', 'saving_frame_per_file': 1, 'saving_suffix': '.edf', 'dtype': <class 'numpy.uint16'>, 'shape': (2160, 2560), 'unit': None}, 'data': {'b
uffer_max_number': 1603, 'last_image_acquired': 1, 'last_image_ready': 1, 'last_counter_ready': 0, 'last_image_saved': 1, 'ready_for_next_image': True, 'acq_state': 'ready'}}
store {'name': 'pco_linux_id19:image', 'description': {'reference': True, 'acq_mode': 'SINGLE', 'acq_nb_frames': 1, 'acq_expo_time': 0.1, 'acq_trigger_mode': 'INTERNAL_TRIGGER', 'acc_time_mode': 'LIVE', 'acc_max_expo_time': 1.0,
'latency_time': 0, 'ctrl_params': {}, 'saving_statistics_history': 6, 'saving_format': 'EDF', 'saving_frame_per_file': 1, 'saving_suffix': '.edf', 'dtype': <class 'numpy.uint16'>, 'shape': (2160, 2560), 'unit': None}, 'data': {'b
uffer_max_number': 1603, 'last_image_acquired': 1, 'last_image_ready': 1, 'last_counter_ready': 0, 'last_image_saved': 1, 'ready_for_next_image': True, 'acq_state': 'ready'}}
!!! === RuntimeError: generator raised StopIteration === !!! ( for more details type cmd 'last_error' )
{'channel_index': 0, 'channel_name': 'pco_linux_id19:image', 'channel_data_node': <bliss.data.nodes.lima.LimaImageChannelDataNode object at 0x7fc3fbf53dd8>}
Notice the 'last_image_saved': 1
No idea if it is normal or not.