-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posible error Driver mi_ccd.cpp set temperature Moravian Gx-xxxx? #949
Comments
@sWski Can you please take a look? |
Hello guys, I have investigated this problem again, because it seemed to me that we have already fixed this bug... Basically the camera has some temp. offset in EEPROM, which is set by calibration, but if this offset is negative, then when calculating the value in FW it can overflow the maximum value and the camera starts cooling. Solutions are two:
Option 2. seems more reasonable to me, I already have this compensation programmed and I think it works as it should. Next week I would just test it more and release a new version of the library. |
Hi Jakub, Thank you for your message and for investigating this problem again. If you consider it necessary and don't have the means to test it yourself, I would like to offer to perform a test on one of our Gx series cameras using a remote setup. For this, I would need detailed instructions to compile the code with the solution and a straightforward way to revert the changes if necessary. Here’s what I need:
Once I have these instructions, I can perform the test and provide you with detailed feedback on the camera's behavior with the new compensation. Thank you for your help, and I look forward to your instructions. Best regards, Alex |
HI
Could this be the issue that several Moravian camera users are experiencing when we turn off the camera's cooling from EKOS and it activates at 100% instead? At least 4 users have had this problem for a long time, and we cannot use the CCD warming function at the end of the session.
Issue with INDIlib Driver Handling Moravian Camera Cooling
We are experiencing an issue with the INDIlib driver for Moravian cameras where the cooling does not turn off properly. Instead of shutting down, the cooling is activated at maximum power. To help diagnose and resolve this issue, we have reviewed and modified the driver files
mi_ccd.cpp
,mi_ccd.h
, and the Moravian librarygxccd.h
.Analysis of the Code
Header File:
mi_ccd.h
In the header file, we have the declarations related to the cooling system:
Implementation File:
mi_ccd.cpp
In the
initProperties
function, the cooler properties are defined:The
SetTemperature
function seems to set the desired temperature correctly:Handling Cooler Switch
The
ISNewSwitch
function handles the switch states, including those for cooling:Possible Problem
The issue could be related to the
TEMP_COOLER_OFF
value set to 100 degrees Celsius. This high value might be causing the cooler to activate at maximum power instead of turning off.?Solution
We propose adjusting the
TEMP_COOLER_OFF
value to a more appropriate setting, such as-1
degrees Celsius, to ensure the cooler turns off correctly:This change should help in correctly turning off the cooler when needed.
Alex
Josep Lluis
Eduardo
Ramon
The text was updated successfully, but these errors were encountered: