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  <20182019  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  <20182019 
<== Date ==> <== Thread ==>

Subject: CAS / PCAS documentation
From: Dr. Bastian Löher <b.loeher@gsi.de>
To: <tech-talk@aps.anl.gov>
Date: Thu, 11 Oct 2018 08:45:27 +0200
Hi,


I'm working on integration of some of our (non-EPICS) software 
components with EPICS. I'd like to add CAS functionality to these 
programs instead of 'making them into an IOC'. The idea is, that these 
programs should publish a couple of PVs each to make their status 
available (mostly read-only).

My goal is to write a Server/PV library that I can use for all my 
programs and a C wrapper API to call into this library.


The documentation I've found on CAS / PCAS seems to be either outdated 
(tutorials) or very thin (comments in PCAS template example code) or not 
applicable (pcaspy).

So far, I've managed to read / write floats, ints and strings, but I am 
still missing support for more complex types such as enums, arrays and 
so on.


Currently, I'm stuck on getting enum strings added to PVs and delivered 
to the clients. The installed "enums" function is never called in the 
server.


Can someone please point me in the direction of either documentation or 
code that I can use?

Or, as a general question: Since the PCAS library is now factored out of 
base, does that mean it will be deprecated at some point? Is there an 
alternative being developed?


Thanks a lot
Bastian


-- Dr. Bastian Löher

Data acquisition
Experiment controls
Detector development

R3B - Relativistic reactions with radioactive beams
Gamma spectroscopy


-- TU Darmstadt ---------------------------------------------------------------

Room / Raum: S2|14 420
Phone / Telefon: +49 6151 75373
Mobile / Mobil: +49 162 5467038
E-Mail: loeher@ikp.tu-darmstadt.de

Institut für Kernphysik
Technische Universität Darmstadt
Schlossgartenstrasse 9, 64289 Darmstadt
http://www.ikp.tu-darmstadt.de


-- GSI ------------------------------------------------------------------------

Room / Raum: SB3 3.199, KBW 5.15, SH4 2.007
Phone / Telefon: +49 6159 71 2739, 1803, 3272
Fax: +49 6159 71 3007
Mobile / Mobil: +49 162 5467038
E-Mail: b.loeher@gsi.de

GSI Helmholtzzentrum für Schwerionenforschung GmbH
Planckstraße 1, 64291 Darmstadt, Germany, www.gsi.de

Commercial Register / Handelsregister: Amtsgericht Darmstadt, HRB 1528
Managing Directors / Geschäftsführung:
Professor Dr. Paolo Giubellino, Ursula Weyrich, Jörg Blaurock
Chairman of the Supervisory Board / Vorsitzender des GSI-Aufsichtsrats:
State Secretary / Staatssekretär Dr. Georg Schütte

Replies:
RE: CAS / PCAS documentation Hill, Jeff via Tech-talk
Re: CAS / PCAS documentation Johnson, Andrew N.

Navigate by Date:
Prev: Re: CSS data browser to MySQL connection Vishnu Patel
Next: Re: Questions about install Johnson, Andrew N.
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  <20182019 
Navigate by Thread:
Prev: Re: Questions about install Michael Davidsaver
Next: RE: CAS / PCAS documentation Hill, Jeff 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  <20182019 
ANJ, 18 Oct 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·