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: IOC implementation by JAVA/Python |
From: | Tong Zhang <[email protected]> |
To: | [email protected], Jameson Graef Rollins <[email protected]>, EPICS mailing list <[email protected]> |
Date: | Tue, 31 Mar 2015 15:15:32 +0800 |
Hi Jamie and Michael,Thanks for your message, however what I want is how can I generate some PVs in some productive JAVA/Python program/scripts for communicating, not the python CA interface nor separately run an IOC; just like openXAL, to my understanding, one of the apps of this JAVA based framework --- 'virtuallinac' once be launched, an IOC would be running background, not by conventional way based on EPICS base routines.
I think Michael's pythonIoc is something what I'm looking for, thanks. Tong On 03/31/2015 02:59 PM, Jameson Graef Rollins wrote:
On Mon, Mar 30 2015, Tong Zhang <[email protected]> wrote:Could please some guru tell me how to generate PVs in JAVA or Python program and to communicate with these PVs outside the program?Two very good python interfaces: pyepics: http://cars.uchicago.edu/software/python/pyepics/index.html pcaspy: https://pcaspy.readthedocs.org/en/latest/ jamie.
On 03/31/2015 02:46 PM, [email protected] wrote: > I can offer two solutions. >> 1. My tool epicsdbbuilder (https://github.com/Araneidae/epicsdbbuilder) allows you to create EPICS database files in Python. However, the result is a .db file which still needs to be executed by an IOC as a separate step.
>> 2. Alternatively pythonIoc (https://github.com/Araneidae/pythonIoc) is a Python interpreter linked with an EPICS IOC and integrated with epicsdbbuilder and some Python device support. This allows you to write fairly concise scripts which generate PVs in a simple way.