Experimental Physics and Industrial Control System
|
> I am trying to open a CSS Phoebus screen and I want to pass the value of a macro from the command line at startup. How can I do this?
Amongst your options:
Add the file and macros to the command line,
phoebus.sh -resource file:/path/to/file?MACRO1=value+1&MACRO2=ab
Or create predefined macros in a my_settings.ini file:
org.csstudio.display.builder.model/macros=<EXAMPLE_MACRO>Value from Preferences</EXAMPLE_MACRO>
.. and then start with that settings file:
phoebus.sh -settings /path/to/my_settings.ini
Or define the macro as environment variables, since macros fall back to them
export EXAMPLE_MACRO=SomeValue
export ANOTHER_MACRO=SomeOtherValue
phoebus.sh
- Replies:
- Re: How do I pass a macro to a CSS Phoebus screen at startup from the command line Pietryla, Tony 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
- Navigate by Date:
- Prev:
Re: Supported 'Scopes? Hu, Yong via Tech-talk
- Next:
Re: Looking for help on PMD101 EPICS driver Mark Rivers 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:
How do I pass a macro to a CSS Phoebus screen at startup from the command line Pietryla, Tony via Tech-talk
- Next:
Re: How do I pass a macro to a CSS Phoebus screen at startup from the command line Pietryla, Tony 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
·
|