Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Enumerated string comparisons
From: "Johnson, Andrew N." <anj@aps.anl.gov>
To: "core-talk@aps.anl.gov" <core-talk@aps.anl.gov>
Date: Wed, 9 Oct 2013 16:38:53 +0000
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:

From: Dirk Zimoch <dirk.zimoch@psi.ch>
Date: October 8, 2013, 11:50:11 PM PDT
To: Christian Pauly <pauly@physik.uni-wuppertal.de>
Cc: EPICS Tech Talk <tech-talk@aps.anl.gov>
Subject: Re: how to issue a shell command from EPICS record ?

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  <20132014  2015  2016  2017  2018  2019 
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  <20132014  2015  2016  2017  2018  2019 
ANJ, 30 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·