mxcubecore.HardwareObjects.ESRF.OxfordCryostream#
Oxford Cryostream, controlled by bliss. Example xml_ configuration:
<object class="ESRF.OxfordCryostream">
<username>Cryostream</username>
<object role="controller" href="/bliss"/>
<cryostat>cryostream</cryostat>
<interval>120</interval>
<object role="monitor_temperature" href="/monitor_temperature"/>
</object>
Classes
|
Control of the Oxford Cryostream model 700, 800 and 1000 |
- class mxcubecore.HardwareObjects.ESRF.OxfordCryostream.OxfordCryostream(name)[source]#
Bases:
AbstractActuator
Control of the Oxford Cryostream model 700, 800 and 1000
- check_temperature(threshold=None)[source]#
Check if the temperature is under the threshold. :param threshold: Temperature threshold (optional) :type threshold: float
- Returns:
True if under the threshold, False otherwise.
- Return type:
(bool)
- get_params()[source]#
Read from the controller. :returns: [target_temperature, ramp_rate, phase, run_mode] :rtype: (list)
- get_static_parameters()[source]#
Get predefined parameters. :returns: Predefimed parameters. :rtype: {list)
- pause(execute=True)[source]#
Pause the ramping. :param execute: True to pause, False to resume. :type execute: bool
- start_action(phase='RAMP', target=None, rate=None)[source]#
Run phase action action. :param phase: The phase action. Default value - RAMP :type phase: str :param target: Target temperature. :type target: float :param rate: (float): Ramp rate.
- wait_temperature(threshold=None, timeout=None)[source]#
Wait until the temperature is under the threshold. :param threshold: Temperature threshold (optional) :type threshold: float :param timeout: optional - timeout [s],
- If timeout == 0: return at once and do not wait
(default);
if timeout is None: wait forever.