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  <20122013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: RE: Using ca to force process a record
From: Mark Rivers <rivers@cars.uchicago.edu>
To: Andrew Wagner <apwagner@u.washington.edu>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 24 Jul 2012 02:01:25 +0000
Use 

caput myAiRecord.PROC 1

caget never forces a record to process, but directly writing to the PROC field will force a Passive input record to process.

Mark

________________________________________
From: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of Andrew Wagner [apwagner@u.washington.edu]
Sent: Monday, July 23, 2012 8:26 PM
To: tech-talk@aps.anl.gov
Subject: Using ca to force process a record

Hey everyone,

I was wondering if there was a way to use CA to force process a passive, asynchronous, ai record. Within the database I can run dbtr to force process the record correctly however when I run caget -c record_name on the command line, I only seem to read the current value of the record without processing it. I have confirmed this by running my database with verbose options and sure enough no communication is sent when caget is executed. caput is able to correctly process a passive ao record and camonitor seems to correctly monitor changes to the database values but caget doesn't actually force anything to happen. I'm starting to write my own ca clients and was wondering if someone had an example of how to force process a passive asynchronous record and correctly read back the updated value. I am aware of and want to avoid the problem of reading back old data discussed in the Application Developers Guide 5.9.2. Thanks for your help.

Cheers,

Andrew




References:
Using ca to force process a record Andrew Wagner

Navigate by Date:
Prev: Using ca to force process a record Andrew Wagner
Next: Re: Support Required for SNL Jörg Penning
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: Using ca to force process a record Andrew Wagner
Next: More than 16 enumerations mbbi / mbbo Hinko Kocevar
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020