Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/c/h/chimera-python-0.1/src/chimera/drivers/sbig/sbigdrv.py   chimera-python(Download)
        strp.ccdSetpoint = TemperatureSetpoint.toAD (setpoint)
 
        self._cmd(udrv.CC_SET_TEMPERATURE_REGULATION, strp, None)
 
        # activate autofreeze if enabled
        if autofreeze == True:
            strp = udrv.SetTemperatureRegulationParams()
            strp.regulation = udrv.REGULATION_ENABLE_AUTOFREEZE
            strp.ccdSetpoint = 0 # irrelevant
            return self._cmd(udrv.CC_SET_TEMPERATURE_REGULATION, strp, None)

src/c/h/chimera-HEAD/src/chimera/instruments/sbig/sbigdrv.py   chimera(Download)
        strp.ccdSetpoint = TemperatureSetPoint.toAD (setpoint)
 
        self._cmd(udrv.CC_SET_TEMPERATURE_REGULATION, strp, None)
 
        # activate autofreeze if enabled
        if autofreeze == True:
            strp = udrv.SetTemperatureRegulationParams()
            strp.regulation = udrv.REGULATION_ENABLE_AUTOFREEZE
            return self._cmd(udrv.CC_SET_TEMPERATURE_REGULATION, strp, None)