EPICS Home

Experimental Physics and Industrial Control System


 
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  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Find a PV by name within a jython Script
From: Mazanec Tomáš via Tech-talk <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 14 Jan 2019 16:01:43 +0000


Hello Pilar


There is getPVByName() but it works only for PVs attached to a widget (e.g.: via rules and scripts).


Tomas





Od: [email protected] <[email protected]> za uživatele Pilar via Tech-talk <[email protected]>
Odesláno: čtvrtek 10. ledna 2019 16:11
Komu: [email protected]
Předmět: Find a PV by name within a jython Script
 

Hello everybody,

I would like to know if it is possible to read a PV value from a jython script without including it in the input PVs list.

Something like: getPVvalue( "my:py:value") or getDouble( "my:pv:value" )

I dont want to include the value of the PV in the input PV list, because is a high amount of PV and the name would depend on the utility of the OPI.

Thank you very much in advance.

Pilar

--

http://sevensols.com
Pilar Gil Jaldo

Embedded SW Engineer

This e-mail and any materials attached hereto, including, without limitation, all content hereof and thereof are confidential and proprietary to Seven Solutions,S.L and/or its affiliates, and are *confidential*. Without the prior written consent of Seven Solutions, this content may not (i) be disclosed to any third party, (ii) be reproduced, modified or otherwise used by anyone other than current employees of Seven Solutions or its affiliates. If you are not the intended recipient or if this message has been received in error, please immediately notify us via e-mail and delete it.

 This e-mail and any materials attached hereto, including, without limitation, all content hereof and thereof are confidential and proprietary to Seven Solutions,S.L and/or its affiliates, and are *confidential*. Without the prior written consent of Seven Solutions, this content may not (i) be disclosed to any third party, (ii) be reproduced, modified or otherwise used by anyone other than current employees of Seven Solutions or its affiliates. If you are not the intended recipient or if this message has been received in error, please notify us immediately via e-mail and delete it.

References:
Find a PV by name within a jython Script Pilar via Tech-talk

Navigate by Date:
Prev: Re: Getting data from a shell script into an ioc Pearson, Matthew R. via Tech-talk
Next: Suggestions on tablet solution Xing Xing via Tech-talk
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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Find a PV by name within a jython Script Pilar via Tech-talk
Next: Cannot execute application on ARM target 刘佳 via Tech-talk
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  <20192020  2021  2022  2023  2024