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  2020  2021  <20222023  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  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: channel-access support for c++
From: Laurenz Rettig via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Sat, 5 Feb 2022 07:19:32 +0100
Hi Mark,

thanks a lot, this looks like the solution I've been looking for. I'll look into it.

Cheers, Laurenz

Am 04.02.2022 um 19:27 schrieb Mark Rivers:
The ezca library is one such wrapper.  https://github.com/epics-extensions/ezca

It is not C++ classes, but it does remove the need to write callback functions, etc.  It lets you do basic Channel Access in a few lines of code.

Mark


-----Original Message-----
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Laurenz Rettig via Tech-talk
Sent: Friday, February 4, 2022 12:22 PM
To: tech-talk at aps.anl.gov
Subject: channel-access support for c++

Hello,

This might sound like a stupid question, as epics is written in c, but I
am looking for a _simple and convenient_ way to add channel-access
support to a c++ program (that has nothing to do with epics so far, on
windows), i.e. reading and writing from and to epics channels. Best
would be to just import an epics library if possible? In many
programming languages there are quite convenient wrappers for this (e.g.
python), but for c/c++ I did not find anything similar. Could anyone
point me to a good example for such a case?

Thanks, Laurenz

--
Dr. Laurenz Rettig
Fritz Haber Institute of the Max Planck Society
Department of Physical Chemistry
Dynamics of Correlated Materials
Faradayweg 4-6
14195 Berlin, Germany

phone: +49-(0)30-8413 5225
email: rettig at fhi-berlin.mpg.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


References:
channel-access support for c++ Laurenz Rettig via Tech-talk
RE: channel-access support for c++ Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: A Tribute to our Colleague Marty Kraimer Matt Rippa via Tech-talk
Next: Error during the compilation of qeframework for qtepics Ewen Mallegol 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  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: RE: channel-access support for c++ Mark Rivers via Tech-talk
Next: Error during the compilation of qeframework for qtepics Ewen Mallegol 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  2020  2021  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·