Hi Julie,
On my side it is long but regular (except for the first acquisition that car take a little bit more, about 20% more time). I do not have, as you, changes in the acquisition time or endless loop.
I didn't resolved this problem, for the moment this is "almost sufficient" for my projet that just need 5 to 10 Hz acquisitions and I reached 3 Hz.
I'm working on a python library that call a c++ client that just take an image and send it to the python software. I hope it will help.
I guess it does not help so much...
++
Benjamin
Read More...
Thank you very much to both of you for your help.
It works perfectly!
Benjamin
Read More...
Hello,
On my Raspberry Pi, I'm using a main program in python, a part of the program connects an ASI camera with pyindi. It works well except for the acquisition time impossible to decrease below 300 ms for a frame (even with binning or cropping). It has been explained in this topic : indilib.org/forum/ccds-dslrs/12476-acquition-time-too-long.html .
I would like to create a python library just to acquire frames at a higher rate, so written in C++ to overpass this limitation. I've seen the examples : github.com/indilib/indi/tree/master/examples , example 6 fits almost my need, but programs are always compiled with the whole library using cmake.
To create a library to use with python, I need to compile it using python docs.python.org/3/extending/extending.html passing by a commande like
python3 ./setup.py build
g++ very_simple_client.cpp -needed_library - L /urs.... -I /usr/...
Ok, thank you fo the advices.
I'll finish the other parts of the project and then I'll decide if waiting or creating a C++ extension (that could take some time as well ).
Benjamin
Read More...
Thanks for the answer !
And let's see what will be the answer to the issue you opened.
To answer your question : I would like to get the buffer, I process data immediately after. Not saving on the disk is not a problem.
In the exemple I gave, it is really waiting for the data that takes time, about 500ms :
self.indiclient.blobEvent.wait()
self.ccd_ccd1[0].getblobdata()
INDI Library: 1.9.8
Code 1.9.8-tgz. Protocol 1.7.
Hello everybody,
For a project: