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: | about CSS BOY |
From: | 岳敏 <[email protected]> |
To: | <[email protected]> |
Date: | Tue, 13 May 2014 09:49:29 +0800 |
I meet some problem while using CSS. The problem is when I use PVUtil.getDouble() to get the value of some PV, there will be ERROR in BOY console if the PV is disconnected. An example ERROR information is "2014-05-04 17:12:48 ERROR: Error exists in script/CSS/_javascript_/ECR_Print.js Wrapped java.lang.RuntimeException: PV SSC-LINAC:ECR:AGL-BEAM has no value. (script#23)". How can I check the connecting state in _javascript_ code before I use PVUtil.getDouble()?
--
********************************
岳 敏 Min Yue
Institute of Modern Physics, Chinese Academy of Sciences
509 Nanchang Road, Lanzhou, 730000, P.R.China
Tel:+86-0931-4969469
Handy: +86-18509316383
********************************