1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 <2024> 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: How to use CSS script? |
From: | "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov> |
To: | whitetiger1123 <holyeongbaeg at gmail.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 6 Aug 2024 12:27:54 +0000 |
>
We need to use python script in CSS for the recent new stage > We dreaming of driving the motor once at 180 cw and then again at -180 ccw right away You do not need to use a script in CSS for that. Just like you did not need to use a. script with edm, medm, dm2k, … or any of the other EPICS display tools. The display should never “do” anything on its own. It only displays the values of PVs and allows operators to write to PVs. If you want to automate something like those motor moves, look at the “seq” record which can be used to write a sequence of values, with optional delays. Or look at the EPICS
sequencer. Either way, you’ll end up with an IOC where either a “caput start_the_move 1” or a button in an operator interface that writes 1 to a “start_the_move” PV starts the desired operation. Cheers, Kay |