EPICS Controls Argonne National Laboratory

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  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Add choice to dbd file
From: Eric Norum <[email protected]>
To: Emmanuel Mayssat <[email protected]>
Cc: "[email protected] Talk" <[email protected]>
Date: Mon, 22 Apr 2013 18:54:38 -0700
The periodic scan initialization converts the first token of the menu item to seconds:

static void initPeriodic(void)
{
.........
        epicsScanDouble(pmenu->papChoiceValue[i + SCAN_1ST_PERIODIC],
                        &ppsl->period);

So you need to specify seconds, not minutes!

On Apr 22, 2013, at 5:03 PM, Emmanuel Mayssat <[email protected]> wrote:

Just out of curiosity, how does epics knows that 
"60 seconds" is actually 60 * 1 second

In other words, what if I write in my dbd file 
choice(menuScan60_second,"1 minute")
or
choice(menuScan1_minute,"1 minute")

Why are those entries different from 
choice(menuScan60_second,"60 second")
?

Thanks,

--

-- 
Eric Norum
[email protected]





References:
Add choice to dbd file Bruno Santos
Re: Add choice to dbd file Andrew Johnson
RE: Add choice to dbd file Emmanuel Mayssat

Navigate by Date:
Prev: RE: Add choice to dbd file Emmanuel Mayssat
Next: RE: caget delays nick.rees
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Add choice to dbd file Emmanuel Mayssat
Next: Re: Add choice to dbd file Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·