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> | 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> |
<== Date ==> | <== Thread ==> |
---|
Subject: | triggerPV Object in Phoebus |
From: | Antonio Miguel Lopez via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 12 Jan 2024 10:13:20 +0000 |
Hello all,
I'm in the middle of a OPI migration from CSS/BOY to Phoebus, by the way, congratulations
to the developers, since is going smoothlier than I thought.
Regarding the scripts (python in my case) migration, I have several CSS/BOY original
scripts using the "triggerPV" object, available in CSS/BOY classes, to detect wich PV triggered the script, for example:
importPackage(Packages.org.csstudio.opibuilder.scriptUtil);
if(triggerPV == pvs[1])
ConsoleUtil.writeInfo("I'm triggered by the second input PV.");
Checking the Phoebus classes, I was not able to find anything similar for the same purpose.
Dis anyone find the same situation? Any recommendation?
Thanks in advance,
|