Experimental Physics and Industrial Control System
>Michael suggested using initHooks. You can also poll the value of interruptAccept, which is a global variable defined in dbAccess.h which goes to 1 when iocInit is complete. For example:
>
>
> while(!interruptAccept) epicsThreadSleep(0.1);
Putting that in the offending thread solved the assertion problem.
> Normally camera drivers do not do database access, they operate below the database layer, and can in principle operate without a database at all.
"Driver" is probably not the right controller. "Controller" is probably a better one, although that is irrelevant to the problem.
Thank you for the help.
- Navigate by Date:
- Prev:
Re: database or new record for blocking setpoint/readback process control Lang, Keenan C. via Tech-talk
- Next:
Re: database or new record for blocking setpoint/readback process control Pearson, Matthew R. 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
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: A call to 'assert(dbLockIsInitialized)' by thread '_main_' Michael Davidsaver via Tech-talk
- Next:
gen_iocsh_reg.pl Benjamin Franksen 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
2021
2022
2023
2024