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: Custom SQL data source for CSS
From: Petro Kazmirchuk <[email protected]>
To: Hugo Slepicka <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 1 Sep 2015 14:49:44 +0000

Hello Hugo,

Thanks for the suggestion, I will have a look at PCASpy.

I was hoping that for such a trivial task I could directly inject PV values into CSS. I’m afraid that introducing EPICS in between may harm performance, or not? Potentially I can be monitoring hundreds of PVs.

Sorry, if I’m talking nonsense, I’m a complete newbie in this domain. Are there any good reference manuals on CSS (for developers) besides the CSS book, built-in help and GitHub Wiki?

 


Petro Kazmirchuk

 

From: Hugo Slepicka [mailto:[email protected]]
Sent: 01 September 2015 16:38
To: Petro Kazmirchuk; [email protected]
Subject: Re: Custom SQL data source for CSS

 

Hello Petro,

 

Why you don't use python and PCASpy (https://pcaspy.readthedocs.org/en/latest/) ?
This way you can create a python code that runs and populate an EPICS PV.

 

HTH,

Hugo

 

On Tue, Sep 1, 2015 at 6:27 AM Petro Kazmirchuk <[email protected]> wrote:

Hello,

I need to connect to RDB and expose this data as PV. As far as I can tell there is no ready-made plugin in CSS that allows this.

Unfortunately, I didn’t manage to find any documentation on how to write my own data source plugins. I would be very grateful for any hints.

Is it mandatory to implement it in Java? Can I connect to RDB from _javascript_ and then put values into a new PV every second? And then display this PV in Boy. Can I run this script in a separate thread and update PV from there?

Thanks in advance

 


Petro Kazmirchuk


References:
Custom SQL data source for CSS Petro Kazmirchuk
Re: Custom SQL data source for CSS Hugo Slepicka

Navigate by Date:
Prev: Re: Custom SQL data source for CSS Hugo Slepicka
Next: Re: Virtual Circuit Disconnect Warning Andrew Johnson
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: Custom SQL data source for CSS Hugo Slepicka
Next: Asyn ModbusTCP communication KO without error messages haquin
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 ·