esrf-bliss / Lima-camera-dhyana

Lima camera plugin for TUCSEN Dhyana V1 camera
GNU General Public License v3.0
3 stars 0 forks source link

Cannot retrieve unique frames #1

Closed Keboland108 closed 1 year ago

Keboland108 commented 2 years ago

When using the conda python interface, following the code example found below:

getting-started

and attempting to read a frame beyond frame 0 (for example reading frame 1) I am getting the following error

limacore.Exception: Control: readBlock(/opt/conda/conda-bld/lima-core_1648541428893/work/control/src/CtControl.cpp, 887): Error: Frame(s) not available yet

Is there a way to get more control over frames using the Python interface?

laurent-claustre commented 2 years ago

Hi, did you really set nb frames to 10 before calling prepareAcq() and startAcq()? you can check by calling acq.getAcqNbFrames()

Keboland108 commented 1 year ago

Hi,

Thank you for the response. That approach worked!

Regards