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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Scan Time Definitions |
From: | Matthieu Bec <[email protected]> |
To: | "Allison, Stephanie" <[email protected]> |
Cc: | David Dudley <[email protected]>, [email protected] |
Date: | Mon, 11 Aug 2008 21:37:52 -0400 |
Hi,
The SCAN field is an enum-type. You can alter epics-base and extend the range of options, but it will remain enum. Are you refering to another mechanism? 'seq' records allow specifying arbitrary delay DLY<n> when to process OUT<n> links, but that's also in seconds.
Even though SCAN is enum, the scan task finds the # of seconds (which it uses to delay between cycles) from the menu ASCII name using strtod (see 17.3.1 of the App Dev Guide). This is unusual. It would be nicer if menuScan.dbd had 3 fields for every option - the enum value (index number), the user-friendly name, and the "raw" name which is used by the scan task. But this is a change to epics base and probably not worth the effort.
Stephanie Allison
-- Matthieu Bec Gemini Observatory Tel: +56 51 205785 c/o AURA, Casilla 603 Fax: +56 51 205650 La Serena, Chile