Hi Mark,
I tried following three and all of them behave the same wa on SL6:
1) vis="if not zero"
2) vis="calc" calc=(A>0)"
3) vis="if not zero" calc=(A>0)"
regards,
Shuei
2021年3月1日(月) 22:00 Mark Rivers <rivers at cars.uchicago.edu>:
>
> Hi Shuei,
>
>
> Your rectangle is defined like this:
>
>
> rectangle {
> object {
> x=10
> y=50
> width=120
> height=30
> }
> "basic attribute" {
> clr=53
> }
> "dynamic attribute" {
> vis="if not zero"
> calc="(A>0)"
> chan="TEST:PV1"
> }
> }
>
> You have a "calc" expression, "(A>0)". But you have selected vis="if not zero". I think that if you use a calc expression you should select vis="calc" instead.
>
> I just tested and either is working OK with Centos7 on your visibility.adl screen. However, it is worth seeing if changing this fixes the problem for you on Scientific Linux 6.
>
> Mark
>
>
>
>
>
> ________________________________
> From: Shuei YAMADA <shuei.yamada at gmail.com>
> Sent: Sunday, February 28, 2021 10:53 PM
> To: Mark Rivers
> Cc: tech-talk at aps.anl.gov
> Subject: Re: rectangular with visibility not being updated in MEDM
>
> Dear Mark,
>
> > Can you post a very simple medm screen that shows the problem? Then we can try to reproduce it.
>
> Attached adl file is a simple medm screen which I could reproduces the
> problem on Scientific Linux 6. I am trying to make a simple adl file
> to reproduce the problem on CentOS7, but unfortunately I couldn't so
> far.
>
> I investigated bit further and it seems that the problem emerges when
> a) "text", "text update", and "rectangular with visibility" are placed
> in a medm screen,
> b) and the visibility PV is identical to text update PV,
> c) and the visibility condition is true on medm startup.
>
> Also I attached 2 screen shots, how one of our medm screens looks like
> on CentOS7 (mainmag-NG.png) and how it is supposed to be
> (mainmag-OK.png). Each box in the screen several rectangles and text
> updates are superpositioned, and some of them are drawn as white box
> or not drawn at all. There are about 500 rectangles and 400 PVs are
> involved.
>
> best regards,
> Shuei
> --
> ----------------------------------------------------
> Shuei Yamada,
> High Energy Accelerator Research Organization (KEK)
> mailto:shuei at post.kek.jp
> ----------------------------------------------------
--
----------------------------------------------------
Shuei Yamada,
High Energy Accelerator Research Organization (KEK)
mailto:shuei at post.kek.jp
----------------------------------------------------
- References:
- rectangular with visibility not being updated in MEDM Shuei YAMADA via Tech-talk
- Re: rectangular with visibility not being updated in MEDM Mark Rivers via Tech-talk
- Re: rectangular with visibility not being updated in MEDM Shuei YAMADA via Tech-talk
- Re: rectangular with visibility not being updated in MEDM Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Job Opportunity - Control Systems Group Leader Forestiero, Suzanne via Tech-talk
- Next:
EPICS 7.0.5 Released Johnson, Andrew N. 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: rectangular with visibility not being updated in MEDM Mark Rivers via Tech-talk
- Next:
Accessing Record fields from asyn driver Torsten Bögershausen 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
|