EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: initHooks not registered
From: Andrew Johnson <[email protected]>
To: Geoff Savage <[email protected]>
Cc: [email protected]
Date: Wed, 19 Apr 2006 15:07:22 -0500
Geoff Savage wrote:

I'm wondering if I missed something but initHookRegister is not registered with the registry or implemented as an iocsh command. Does it need to be registered? I'm running EPICS 3.14.8.2 on Linux.

The single argument to initHookRegister() is a pointer to your initHookFunction. Since the iocsh has no way to convert your function name into that pointer, this is only useful as a command in vxWorks, so it makes little sense to register it as an iocsh command.


To use initHookRegister() in a non-vxWorks system you'll have to call it from C code either in your main() program, or from some other function that is exported and named in a DBD file as a registrar routine.

HTH,

- Andrew
--
There is no S in exprexxo.

References:
initHooks not registered Geoff Savage

Navigate by Date:
Prev: initHooks not registered Geoff Savage
Next: caget a WF of CHARs Zhou, Jingchen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: initHooks not registered Geoff Savage
Next: caget a WF of CHARs Zhou, Jingchen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024