EPICS Home

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  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  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: CAS / PCAS documentation
From: "Hill, Jeff via Tech-talk" <[email protected]>
To: Dr. Bastian Löher <[email protected]>
Cc: "Tech Talk \([email protected]\)" <[email protected]>
Date: Wed, 17 Oct 2018 23:22:42 +0000
Hi,

Yes I am the original author of this software, sorry about some delays replying.

> 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).

It's definitely true, sorry there is never enough time...

> 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.

In the versions of EPICS base that still include the portable ca server in 
the "src/cas" directory under base, one can use the command
"makeBaseApp.pl -t caServer" to create an example CA Server application.

There are vector and scalar PV examples there, and also an example enumerated
string table via exPV::getEnums. There used to be examples included with the
source but they were removed in favor of the makeBaseApp.pl template
at some point as I recall. And now perhaps the examples are no-longer available
except in old releases of base. If you have troubles finding them, I can send a copy.
Let me know.

Also, I am actively maintaining a new CA server based on the DataAccess library 
for polymorphic user data transport which also includes the embedded Lua 
interpreter. We use this version for beam species subscriptions at LANSCE.

(current development branch) bzr+ssh://bazaar.launchpad.net/~johill-lanl/epics-base/server1/
(stable) bzr+ssh://bazaar.launchpad.net/~johill-lanl/epics-base/server0/ 

Jeff

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Dr. Bastian Löher
> Sent: Thursday, October 11, 2018 12:45 AM
> To: [email protected]
> Subject: CAS / PCAS documentation
> 
> 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: [email protected]
> 
> 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: [email protected]
> 
> 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

References:
CAS / PCAS documentation Dr. Bastian Löher

Navigate by Date:
Prev: RE: Camera Recommendations [SEC=UNCLASSIFIED] POZAR, Andraz
Next: Re: Camera Recommendations [SEC=UNCLASSIFIED] Wayne Lewis
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  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CAS / PCAS documentation Dr. Bastian Löher
Next: Re: CAS / PCAS documentation 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  2020  2021  2022  2023  2024