You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running it on python3.9.7 on windows. Basically everything works well, except that the acquisition time is too long for our experiment. I set integral time to be 0.01s, but the total time consumed to acquire one frame is almost 0.9s.
I didn't go deep into the dcam.py, but I found that a lot of time was consumed on allocating buffers. Basically every time I send a commend to acquire a frame, the program will allocate buffer, lock frame, copy it back and release buffer. I am wondering is there any way to not allocate buffer every time, but just one time for all? Also is it possible to set a region-of-interest thus decrease the space of the buffer and decrease the time of allocation?
Thanks
The text was updated successfully, but these errors were encountered:
Hi @PKUPHYZYC,
Thank you for your bug report. Unfortunately I stopped working at the institute where I had a camera to test width so it's very hard for me to fix/improve the project to meet your needs.
Hi,
I am running it on python3.9.7 on windows. Basically everything works well, except that the acquisition time is too long for our experiment. I set integral time to be 0.01s, but the total time consumed to acquire one frame is almost 0.9s.
I didn't go deep into the dcam.py, but I found that a lot of time was consumed on allocating buffers. Basically every time I send a commend to acquire a frame, the program will allocate buffer, lock frame, copy it back and release buffer. I am wondering is there any way to not allocate buffer every time, but just one time for all? Also is it possible to set a region-of-interest thus decrease the space of the buffer and decrease the time of allocation?
Thanks
The text was updated successfully, but these errors were encountered: