It works!

The only problem is that when the camera was recently cooled, the setpoint may be too cold.
I will try to use the temperature of an external ambient temperature sensor instead.


Camera.CoolerOn = true;
Util.WaitForMilliseconds(5000); // For quirk in MaxIm 6.05
Console.Printline("Ambient: " + Camera.Temperature + "C");

if(Camera.Temperature - 35 < -15) {
Camera.TemperatureSetpoint = -15; // Chill the cooler to -15
}
if(Camera.Temperature - 35 < -20) {
Camera.TemperatureSetpoint = -20; // Chill the cooler to -20
}
if(Camera.Temperature - 35 < -25) {
Camera.TemperatureSetpoint = -25; // Chill the cooler to -25
}
if(Camera.Temperature - 35 < -30) {
Camera.TemperatureSetpoint = -30; // Chill the cooler to -30
}
Console.PrintLine("Chilling cooler to "+ Camera.TemperatureSetpoint);

Thanks again!