Experimental Physics and Industrial Control System
|
Hi there,
I’m working on a similar issue. Is there a general guide/manual for Phoebus that I’m just not seeing?
Appreciate it if someone can point me in the right direction.
Best, Dave
Kay,
I found the issue.
Not all the macros were being passed to the main display from the command line. I had to quote the entire string of macros on the command line.
Tony
>I succeeded in passing macros on the command line, now I want to open a generic display from this top level display and selectively assign one of the macros. I am using
an action button to open the related display. I have tried assigning the generic macro to one of macros passed from the command line (GENERIC_MACRO = $(MACRO1)), in the related display dialog box, but the macro doesn’t expand. The new screen shows the value
of GENERIC_MACRO as $(MACRO1) rather than the value of $(MACRO1).
>How can accomplish this?
In a display, define MACRO1=Value 1, MACRO2 = Value 2.
Then add for example a label with text "You picked $(PICK)".
I can now open that display from the command line with one of
-resource file:/path/to/file?PICK=Something
-resource file:/path/to/file?PICK=$(MACRO1)
-resource file:/path/to/file?PICK=$(MACRO2)
and as a result the screen opens with "You picked Something", "You picked Value 1" respectively "You picked Value 2".
In the last case, when I open the context menu on the display to open the display information dialog, then check the "Macros" tab, it contains:
-Kay
- Replies:
- Re: [EXTERNAL] Re: How do I pass a macro to a CSS Phoebus screen at startup from the command line Kasemir, Kay via Tech-talk
- References:
- How do I pass a macro to a CSS Phoebus screen at startup from the command line Pietryla, Tony via Tech-talk
- Re: How do I pass a macro to a CSS Phoebus screen at startup from the command line Kasemir, Kay via Tech-talk
- Re: How do I pass a macro to a CSS Phoebus screen at startup from the command line Pietryla, Tony via Tech-talk
- Re: How do I pass a macro to a CSS Phoebus screen at startup from the command line Kasemir, Kay via Tech-talk
- Re: How do I pass a macro to a CSS Phoebus screen at startup from the command line Pietryla, Tony via Tech-talk
- Navigate by Date:
- Prev:
RE: EPICS driver for Xilinx ZYNQ ultrascale FPGA firmware PL register read write Kunjir, Shriraj via Tech-talk
- Next:
Re: EPICS driver for Xilinx ZYNQ ultrascale FPGA firmware PL register read write Michael Davidsaver 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: How do I pass a macro to a CSS Phoebus screen at startup from the command line Pietryla, Tony via Tech-talk
- Next:
Re: [EXTERNAL] Re: How do I pass a macro to a CSS Phoebus screen at startup from the command line 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
|
ANJ, 07 Dec 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|