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: [email protected] [[email protected]] on behalf of Andrew Wagner [[email protected]]
Sent: Monday, July 23, 2012 8:26 PM
To: [email protected]
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
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- 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
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|