Experimental Physics and Industrial Control System
Subject: |
making edm draw the desired related display based on value of a PV |
From: |
Dayle Kotturi <[email protected]> |
To: |
[email protected] |
Date: |
Tue, 2 Nov 2010 15:55:54 -0700 (PDT) |
Hello,
In our timing system, there are four possible modes of triggers. I want
to display all 560 triggers the same way, putting their names as the label
on related display widget buttons, regardless of the mode of the trigger.
When the user clicks on the trigger name, a generic related display is
passed the trigger name and mode as macros. The generic display
contains an embedded window widget which draws the appropriate "form",
in "Display Source", by mangling the name of the mode-appropriate display
name for "Display File Name" via pdu_trig_$(MODE).edl into one of the
four possible filenames.
This is all ok, but it means I have to have to hardcode the definition of
$(MODE) into the macros for each trigger.
Is there a way that I can display the correct edl file based on the value
of a PV of the MODE at runtime? The modes are not going to be changing between
boots.
I had envisioned drawing all four related displays and then using visibility
rules, but related display widget does not have visibility rule option. I don'tknow if they can be "grouped" to widgets that do have this option.
thanks for any help,
Dayle Kotturi [email protected]
Controls Department
SLAC National Accelerator Laboratory
- Replies:
- RE: making edm draw the desired related display based on value of a PV tom.cobb
- Re: making edm draw the desired related display based on value of a PV John William Sinclair
- Navigate by Date:
- Prev:
RE: write failure occuring in writeScanRecInProgress function (after writing header) in saveData.c (sscan-2-6-6 module) Jay Steele
- Next:
RE: write failure occuring in writeScanRecInProgress function (after writing header) in saveData.c (sscan-2-6-6 module) Jay Steele
- 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: FW: write failure occuring in writeScanRecInProgress function(after writing header) in saveData.c (sscan-2-6-6 module) Tim Mooney
- Next:
RE: making edm draw the desired related display based on value of a PV tom.cobb
- 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