Open aransfor opened 6 years ago
@aransfor I think adding controls for reading temperature is great. I tried to call get_emccd_gain
and get_temperature
function when the live video loop is running, and it gets the gain and temperature without error.
Changing the exposure does turn off the live update loop and turn it back on. I think if https://github.com/CampbellGroup/common/blob/master/lib/servers/iXonServer/AndorVideo.py#L181 ended in an error, the next line may not run and the live video loop will not restart. We have never seen the live update not turning back on after changing the exposure. Could it be possible that some errors happened on the communication with the camera, and that is the reason of iXon server having unavailable functions during acquisition?
@fanmingyu212 After reading this I suspect we have the wrong firmware perhaps. Could you email me the DLL file you use and I will see if this fixes?
I tried all the files, perhaps @theoriginaljuice @gkchen can see if the function andor_camera.get_temperature() works during live video if so it is probably sadly my camera :(
@aransfor, @fanmingyu212 , I can get the emccd gain while the live loop is running but I cannot get the temperature. I get the DRV_ACQUIRING error.
thanks @theoriginaljuice I get the same error, I wonder if there is a compatibility issue...
I just checked with @gkchen and he has the same issue, perhaps @fanmingyu212 has the secret software
@aransfor I am not sure about the reason. Too bad I don't have the secret software to solve the problem. Do you use the USB version of the camera or the pci card version? We are using the USB version and I was wondering if it could be the reason.
The get_temperature function and EMgain are unable to be accessed while the live video loop is running, I would like to implement the camera temperature into the GUI but cannot do so because of this. The exposure changes turn live video off, change the setting, then start it again. This behavior is non ideal and leads to live video going off occasionally while switching exposure. @fanmingyu212 have you run into any issues or know why this is the case?