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  2019  <20202021  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  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Compare two string-type PVs in CSS/BOY rule
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "Hu, Yong" <yhu at bnl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 14 May 2020 13:26:05 +0000
> The problem I had is about comparing two string-like PVs: pvStr0 == pvStr1

pvStr0 == pvStr1 is not comparing two string-like PVs.
It's comparing two strings, where the strings are the result of calling
pvStr0 = PVUtil.getString(pvs[0]).
The PVs could actually be numeric, and pvStr0 would then be that value as a string.

> Does pvStr0 == pvStr1 work in CS-Studio/Phoebus?
Yes.


References:
Compare two string-type PVs in CSS/BOY rule Hu, Yong via Tech-talk
Re: Compare two string-type PVs in CSS/BOY rule Kasemir, Kay via Tech-talk
Re: Compare two string-type PVs in CSS/BOY rule Hu, Yong via Tech-talk

Navigate by Date:
Prev: Re: Compare two string-type PVs in CSS/BOY rule Hu, Yong via Tech-talk
Next: motor R7-2 released Peterson, Kevin M. 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  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Compare two string-type PVs in CSS/BOY rule Hu, Yong via Tech-talk
Next: motor R7-2 released Peterson, Kevin M. 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  2019  <20202021  2022  2023  2024 
ANJ, 14 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·