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

Subject: Re: String Read
From: Ralph Lange <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Thu, 26 Sep 2013 12:05:13 +0200
On 26.09.2013 11:13, Vishnu Patel wrote:

Hi,

String input with asynOctet is giving the IOC initialisation value of the PV during run time also. It is not updating new value at runtime.

I have implemented string input function in the asyn based device support. I am reading the system time and convert it to the string.  But every caget will give the PV value at the time of IOC initialisation

But it seems that stringin record is not access the asynOctet read function.

 

Do i need to flush string?

I initialize Octet base

status = pasynOctetBase->initialize(p_nisyncDrvPvt->portName,
&p_nisyncDrvPvt->asynOctet, 0, 0, 0);

What could be the reason? Is there any mode

Thanks


Are you processing your record? (I.e., have you set the SCAN field to something non-"Passive"?)
It's your record's processing that should call the read() function of the device support, which in turn should access your driver.

A Channel Access get usually does not cause record processing.

HTH,
~Ralph

References:
String Read Vishnu Patel

Navigate by Date:
Prev: String Read Vishnu Patel
Next: Re: cleaning up at exit and waiting threads Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: String Read Vishnu Patel
Next: agenda for the EPICS users' meeting Dalesio, Leo
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·