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  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: rmt CCExecInit problem
From: Michael Davidsaver via Tech-talk <[email protected]>
To: Tasaddaq Khan <[email protected]>, [email protected]
Date: Thu, 7 Nov 2019 07:51:04 -0800
On 11/7/19 2:08 AM, Tasaddaq Khan via Tech-talk wrote:
> Hi
> 
> I have added following line in my st.cmd
> 
> dbLoadRecords("db/test.db")
> 
> rmt
> epicsThreadSleep 5
> rmtConfig master.conf
> epicsThreadSleep 2
> CCExecInit
> epicsThreadSleep 15
> iocInit
> epicsThreadSleep 5
> rmtStart
> epicsThreadSleep 10
> 
> I got the following error:
> A call to 'assert(dbLockIsInitialized)' by thread 'cceTraverse' failed in
> ../dbLock.c line 245. EPICS Release EPICS R3.14.12.8
> 
> rmt:CCEXEC:GetStatus returned INVALID_ERROR --> PRR not in sync
> 
> Also when i comment out my dbLoadRecords("db/test.db"), then there is no error but database does not synchronize.
> 
> Please tell me how to solve this problem?

Try adding "iocInit()" before the "rmt".

https://github.com/epics-base/epics-base/blob/7dd1ea4cabade8c95cda5e677951e3b08f793487/src/db/dbLock.c#L239-L245

> If this assertion is failing it is likely because iocInit
> has not completed.  It must complete before normal record
> processing is possible.  Consider using an initHook to
> detect when this occurs.

References:
rmt CCExecInit problem Tasaddaq Khan via Tech-talk

Navigate by Date:
Prev: Re: Waveform record not sending monitor on .NORD field Michael Davidsaver via Tech-talk
Next: RE: Serial port bus connection issue on arm platform Seeberger, John T CIV USN NAS PAX MD (USA) 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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: rmt CCExecInit problem Tasaddaq Khan via Tech-talk
Next: Serial port bus connection issue on arm platform Seeberger, John T CIV USN NAS PAX MD (USA) 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  <20192020  2021  2022  2023  2024