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  <20212022  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  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Difference between caput/caget and PVwrite
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Pilar Gil <pilar.gil at sevensols.com>
Date: Tue, 26 Jan 2021 17:31:30 +0000
> ..everything goes well if I set a value using CSS-BOY, but the system runs into a segmentation fault if I use two consecutive times the same variable using caput...

>Which step is CSS-BOY carrying out that caput does not include? 

caput roughly does this:
connect, caget (old value), caput (desired value), caget (new value), disconnect

A display tool like CS-Studio tends to do this:
connect, subscribe to changes (monitor).
When you write, it performs a caput over that standing connection.
No active 'caget', simply relying on the monitor to report the value change that was caused by the 'caput'.
disconnect when you close the display.

So if you experience a problem when calling the command-line caput, maybe it's related to caput calling caget right after writing?

-Kay

References:
Difference between caput/caget and PVwrite Pilar Gil via Tech-talk

Navigate by Date:
Prev: Difference between caput/caget and PVwrite Pilar Gil via Tech-talk
Next: RE: EPICS Archiver routing issue Manoussakis, Adamandios 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Difference between caput/caget and PVwrite Pilar Gil via Tech-talk
Next: Re: Difference between caput/caget and PVwrite Michael Davidsaver 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  <20212022  2023  2024 
ANJ, 26 Jan 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·