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  2013  2014  2015  2016  2017  2018  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: string conversion to uppercase or lowercase
From: Jeong Han Lee via Tech-talk <[email protected]>
To: [email protected]
Date: Mon, 18 Nov 2019 20:04:58 +0100
Hi Andrew,

Yes, aSub is not my option. But I rethink the problem from scratch again. Then I decided to change the original PV instead to do post-processing. Luckily, I am still able to change the original PV.

  Thanks,
  Han


On 11/18/19 7:58 PM, Johnson, Andrew N. via Tech-talk wrote:
Hi Han,

On 11/17/19 5:33 PM, Jeong Han Lee via Tech-talk wrote:
  Is there a way to convert a string from uppercase to lowercase or vice-verse by using only available records within database files?

Yes, but you would still have to write some C/C++ code — using an aSub record, where you would write one or more subroutines to do the actual conversions. That is still using a record type that comes with Base, but probably isn't what you wanted to hear. I can't think of a better solution at the moment.

- Andrew

--
Complexity comes for free, Simplicity you have to work for.


References:
string conversion to uppercase or lowercase Jeong Han Lee via Tech-talk
Re: string conversion to uppercase or lowercase Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: string conversion to uppercase or lowercase Johnson, Andrew N. via Tech-talk
Next: Re: string conversion to uppercase or lowercase Jeong Han Lee via Tech-talk
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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: string conversion to uppercase or lowercase Johnson, Andrew N. via Tech-talk
Next: ai records with data covering many decades Bo Jakobsen via Tech-talk
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  <20192020  2021  2022  2023  2024 
ANJ, 18 Nov 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·