From e0473a4493b5c3cfe120b21227260ac81ef15cc1 Mon Sep 17 00:00:00 2001 From: Joseph Parsons Date: Thu, 14 Dec 2023 13:41:37 -0800 Subject: [PATCH] Adding three commands to tunable laser for the Omron thermal sensor --- doc/version-history.rst | 7 +++++-- .../TunableLaser/TunableLaser_Commands.xml | 21 +++++++++++++++++++ .../TunableLaser/TunableLaser_Events.xml | 19 +++++++++++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/doc/version-history.rst b/doc/version-history.rst index adc0919eb..81925f4c6 100644 --- a/doc/version-history.rst +++ b/doc/version-history.rst @@ -20,8 +20,7 @@ v21.0.0 * MTM2 - * Improve the description of ``MTM2_forceErrorTangent`` topic. - + * Improve the description of ``MTM2_forceErrorTangent`` topic. * Added command for mask rotation for ts_CBP @@ -41,6 +40,10 @@ v21.0.0 * Improve support for publishing block id. + * TunableLaser + + * Adding 3 commands to TunableLaser: ``changeTempCtrlSetpoint``, ``turnOnTempCtrl``, and ``turnOffTempCtrl``. + * Adding 3 events to TunableLaser: ``setPointChanged``, ``tempCtrlOn``, and ``tempCtrlOff``. v20.1.0 ------- diff --git a/python/lsst/ts/xml/data/sal_interfaces/TunableLaser/TunableLaser_Commands.xml b/python/lsst/ts/xml/data/sal_interfaces/TunableLaser/TunableLaser_Commands.xml index 0ec65346a..4ecc88a1e 100644 --- a/python/lsst/ts/xml/data/sal_interfaces/TunableLaser/TunableLaser_Commands.xml +++ b/python/lsst/ts/xml/data/sal_interfaces/TunableLaser/TunableLaser_Commands.xml @@ -44,4 +44,25 @@ TunableLaser_command_triggerBurst Trigger an increased burst of energy. + + TunableLaser + TunableLaser_command_changeTempCtrlSetpoint + + setpoint + Set point for the thermal sensor. + float + deg_C + 1 + + + + TunableLaser + TunableLaser_command_turnOnTempCtrl + Send command to turn on thermal sensor. + + + TunableLaser + TunableLaser_command_turnOffTempCtrl + Send command to turn off thermal sensor. + diff --git a/python/lsst/ts/xml/data/sal_interfaces/TunableLaser/TunableLaser_Events.xml b/python/lsst/ts/xml/data/sal_interfaces/TunableLaser/TunableLaser_Events.xml index c2013f5af..9da95cdd1 100644 --- a/python/lsst/ts/xml/data/sal_interfaces/TunableLaser/TunableLaser_Events.xml +++ b/python/lsst/ts/xml/data/sal_interfaces/TunableLaser/TunableLaser_Events.xml @@ -53,4 +53,23 @@ LaserErrorCode_HW_CPU_ERROR = 7304 1 + + TunableLaser + TunableLaser_logevent_setPointChanged + + setPoint + Value of the temp control set point that was changed + float + deg_C + 1 + + + + TunableLaser + TunableLaser_logevent_tempCtrlOn + + + TunableLaser + TunableLaser_logevent_tempCtrlOff +