last_image_ready always [-1..0] from Lima acquisition device configured with INTERNAL_TRIGGER
Noticed on a PCO from ID19
TEST_SESSION [2]: SCAN_DISPLAY.auto=True
...: lima = config.get("pco_linux_id19")
...: s1 = ascan(roby, 0, 10, 5, 0.1, lima, save=False)
Here is some logs of the event_dict
from the store
function
{'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': {'buffer_max_number': 1603, 'last_image_acquired': 0, 'last_image_ready': 0, 'last_counter_ready': -1, 'last_image_saved': -1, 'ready_for_next_image': False, 'acq_state': 'running'}}
{'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': {'buffer_max_number': 1603, 'last_image_acquired': 0, 'last_image_ready': 0, 'last_counter_ready': -1, 'last_image_saved': 0, 'ready_for_next_image': True, 'acq_state': 'ready'}}
{'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': {'buffer_max_number': 1603, 'last_image_acquired': -1, 'last_image_ready': -1, 'last_counter_ready': -1, 'last_image_saved': -1, 'ready_for_next_image': True, 'server_url': 'tango://lid19europa.esrf.fr:20000/id19/limaccd/edgefre'}}
{'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': {'buffer_max_number': 1603, 'last_image_acquired': 0, 'last_image_ready': 0, 'last_counter_ready': -1, 'last_image_saved': -1, 'ready_for_next_image': False, 'acq_state': 'running'}}
{'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': {'buffer_max_number': 1603, 'last_image_acquired': 0, 'last_image_ready': 0, 'last_counter_ready': -1, 'last_image_saved': 0, 'ready_for_next_image': True, 'acq_state': 'ready'}}