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  2015  2016  2017  2018  2019  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] PyDevice intro
From: "Vodopivec, Klemen via Tech-talk" <tech-talk at aps.anl.gov>
To: "Cobb, Tom (DLSLtd,RAL,LSCI)" <tom.cobb at diamond.ac.uk>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 22 Oct 2020 15:47:42 +0000
Hi Tom,

I wasn’t aware of the pythonIoc project, thanks for bringing it to my attention. I thought DLS was using pyDevSup, but you obviously take that approach further. 

It sounds like all these projects are complementing each other and addressing multiple use cases. Sometime you may want to use one and at other times the other solution. Maybe it would be worthwhile to come up with a comparison table or article that explains each solution's strengths and provides some guidance to the user trying to decide between them.

— Klemen

On Oct 20, 2020, at 4:24 AM, Cobb, Tom (DLSLtd,RAL,LSCI) <tom.cobb at diamond.ac.uk> wrote:

Hi Klemen,

Nice library, thanks for sharing. I see that you mentioned pyDevSup in your talk, were you also aware of pythonIoc?


The device support layer is very similar to pyDevSup and PyDevice (embed a Python interpreter into an IOC build), but it also comes with record builder python functions that allow a database to be created directly from Python. At present you compile it as a support module and it creates an IOC executable that launcher the Python interpreter.

I mention it because we have plans to turn this on its head and make it an IOC packaged as a Python module. This would mean that creating a python IOC would be as simple as pip install softioc, then running a python script that imports from softioc. This puts it in a different space to pyDevSup and PyDevice (IOC in Python rather than Python in IOC), but there may be somethings we can share.

Thanks,
Tom

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Vodopivec, Klemen via Tech-talk <tech-talk at aps.anl.gov>
Sent: 19 October 2020 19:33
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: PyDevice intro
 
Hi,

As introduced today at EPICS collaboration meeting, PyDevice project is (another) EPICS device support for Python interpreter which focuses on easy integration of Python code with EPICS database. You can find today’s presentation on the Indico website and the project is available on GitHub including the tutorial.

https://indico.fhi-berlin.mpg.de/event/52/contributions/555/
https://github.com/klemenv/PyDevice/

— Klemen

 

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom


References:
PyDevice intro Vodopivec, Klemen via Tech-talk
Re: PyDevice intro Cobb, Tom (DLSLtd,RAL,LSCI) via Tech-talk

Navigate by Date:
Prev: Re: [EXTERNAL] PyDevice intro Vodopivec, Klemen via Tech-talk
Next: Re: MEDM crash Johnson, Andrew N. 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  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: PyDevice intro Cobb, Tom (DLSLtd,RAL,LSCI) via Tech-talk
Next: Seeking config advice for smarAct MCS controller Jemian, Pete R. 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  2019  <20202021  2022  2023  2024 
ANJ, 22 Oct 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·