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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: EDM questions |
From: | "Southern, Tim" <[email protected]> |
To: | [email protected] |
Date: | Sat, 20 May 2017 19:28:32 -0400 |
On 5/18/17 4:55 PM, Zelazny, Michael Stanley wrote:First off, I must point to the edm documentation for CALC\ and LOC\ variables.Select the widget with left-mouse-click then middle-mouse-click and use Group and Ungroup. ________________________________________ From: [email protected] [[email protected]] on behalf of lzf neu [[email protected]] Sent: Thursday, May 18, 2017 06:55 To: [email protected] Subject: EDM questions hi, I have two questions to consult you: 1) I want to control a object ( a circle for example) visible or invisible by two PVs. Let me assume PVa and PVb : if PVa=1 and PVb=1 then the visibility of the circle is invisible otherwise is visible. I open the circle properties window and have no idea how to process two PV names in Visibility PV blank. https://ics-web.sns.ornl.gov/edm/eum.html#idp216560 To use logic to make a widget visible based on the values of two or more PVs, you will need to use a CALC _expression_ in the visibility PV field of the widget. The screenshot below uses two LOC\ PVs in the calculation, you can replace these with real PVs. CALC\{A&&B}(LOC\PVa,LOC\PVb) ---- -> If A is true and B is true then CALC is true. As Zelazny replied earlier, you need to create a group for the widget you want to use visibility on. The group properties provide the attributes for visibility.2) how to control a text update widget visible or invisible according to PV. however, there is no Visibility PV blank to fill in in Text update properties window. Cheers, Tim |