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