EPICS Controls Argonne National Laboratory

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  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== 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.
Replies:
Re: IOC implementation by JAVA/Python Jameson Graef Rollins
References:
IOC implementation by JAVA/Python Tong Zhang
Re: IOC implementation by JAVA/Python Jameson Graef Rollins

Navigate by Date:
Prev: Re: IOC implementation by JAVA/Python Jameson Graef Rollins
Next: Re: IOC implementation by JAVA/Python Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: IOC implementation by JAVA/Python Jameson Graef Rollins
Next: Re: IOC implementation by JAVA/Python Jameson Graef Rollins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·