Experimental Physics and Industrial Control System
|
Question for core developers: Should we modify the Enum string parser to try using case-independent or other fuzzy string comparisons if a string value doesn't match using the case-dependent comparison or after trying to convert the string to an integer?
We could make the IOC dwim ("do what I mean", a Perl term) in the case below, but the result is a less precise database so I'm not sure if this is a good idea or not and how far we should take it.
- Andrew
--
Sent from my iPad
Begin forwarded message:
On 08.10.2013 18:05, Christian Pauly wrote:
field(OMSL, "CLOSED_LOOP")
Any idea what i am doing wrong ?
This is the last piece i am missing to get it running...
It is not "CLOSED_LOOP" but "closed_loop". You should see an error message when loading the record and a caget on the OMSL field should show that it is still "supervisory".
Dirk
|
- Replies:
- Re: Enumerated string comparisons Benjamin Franksen
- Re: Enumerated string comparisons Eric Norum
- Navigate by Date:
- Prev:
Re: [Merge] lp:~epics-core/epics-base/thread-pool into lp:epics-base mdavidsaver
- Next:
Re: [Merge] lp:~epics-core/epics-base/thread-pool into lp:epics-base Ralph Lange
- Index:
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: [Merge] lp:~epics-core/epics-base/thread-pool into lp:epics-base mdavidsaver
- Next:
Re: Enumerated string comparisons Benjamin Franksen
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
<2013>
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 30 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|