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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | AW: [Fwd: Re: Explicit initializing of Sub-Record] |
From: | Kuehne Joerg <[email protected]> |
To: | [email protected] |
Date: | Wed, 21 May 2003 15:50:34 +0200 |
Hi Ben
Thanks for your answering. The 2'nd proposal I had already implemented but it isn't really a nice programming because each time when the IO Intr. triggered subroutine was called the flag has always been checked before. It may be able to influence the system load, depending on the cycle-time of the EPICS queue in fact. The first point seems more for a compliant solution for further efforts.
Regards George
Joerg Kuehne wrote: > > Did anyone know how I could explicit decide an initializing of a > sub-record? The subRecord does not provide for this. In the record support, the address of the routine whose name is given in field INAM is thrown away after init_record has executed it. There are two obvious solutions to your problem: 1) Create an enhanced version of the subRecord which saves the init routine's address and executes it under certain conditions. 2) Write your subroutine so that it calls the record's init routine, depending on the value of some of the input fields. Ben |