Experimental Physics and Industrial Control System
pvStr0 == “some text” works in the old CS-Studio/BOY (4.5.1) too.
The problem I had is about comparing two string-like PVs: pvStr0 == pvStr1 does not work in 4.5.1; however, String(pvStr0) == String(pvStr1) works.
Does pvStr0 == pvStr1 work in CS-Studio/Phoebus?
Thanks,
Yong
On 5/14/20, 8:33 AM, "Kasemir, Kay" <kasemirk at ornl.gov> wrote:
> I have not tried this kind of Rule on newer CSS versions.
Rule expressions
pvStr0 == “some text”
work in the latest incarnation, i.e. the Display Builder in CS-Studio/Phoebus.
I assume that's in part because BOY would internally translate the rules into JavaScript, while the Display Builder translates them into Jython.
-Kay
- Replies:
- Re: Compare two string-type PVs in CSS/BOY rule Kasemir, Kay via Tech-talk
- 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
- Navigate by Date:
- Prev:
Re: Compare two string-type PVs in CSS/BOY rule Kasemir, Kay via Tech-talk
- Next:
Re: Compare two string-type PVs in CSS/BOY rule Kasemir, Kay 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
<2020>
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Compare two string-type PVs in CSS/BOY rule Kasemir, Kay via Tech-talk
- Next:
Re: Compare two string-type PVs in CSS/BOY rule Kasemir, Kay 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
<2020>
2021
2022
2023
2024