Phoebus client¶
Install, and configure the installation of the Phoebus graphical client.
See also
The Phoebus client user guide for how to use these options.
- programs.phoebus-client¶
- programs.phoebus-client.enable boolean[source]¶
Whether to enable installing and configuring the Phoebus client.
Default value¶falseExample¶true
- programs.phoebus-client.colorDef null or (attribute set of string)[source]¶
Phoebus color definitions.
If unset, use the colors from Phoebus’
examples/color.def.If set, expand on the default colors from Phoebus.
Warning
If
colorDefis set, the “additional colors” fromexamples/color.def, such asHeader_Background,On, orOff, won’t be provided by default.- Color format:
red, green, blue red, green, blue, alpha PreviouslyDefinedNameOfColor
with values in 0-255 range.
Whenever possible, use named colors in displays instead of arbitrary red/green/blue values.
Default value¶nullExample¶{ OK = "0, 255, 0"; On = "OK"; Transparent = "255, 255, 255, 0"; }
- programs.phoebus-client.finalPackage package [read-only][source]¶
The final package that will be used in the system, a Phoebus package that will use the provided preference settings, Java options, etc.
The original package is taken from
package.Default value¶The wrapped Phoebus package
- programs.phoebus-client.fontDef null or (attribute set of string)[source]¶
Phoebus font definitions.
If unset, use the fonts from Phoebus’
examples/font.def.If set, expand on the default fonts from Phoebus.
Warning
If
fontDefis set, the example fonts fromexamples/font.def, such asOddball, won’t be provided by default.- Name format:
NamedFont NamedFont(OS)
- Font format:
Family - Style - Size @PreviouslyDefinedNamedFont
- Style:
regular,bold,italic, orbold italic.- Size:
Font height in pixels
- Family:
Font family name, such as
Liberation Sans,Liberation Mono, orLiberation Serif;- OS:
windows,linux, ormacosx.
Default value¶nullExample¶{ Oddball = "Comic Sans MS-regular-40"; "Oddball(linux)" = "PakTypeNaqsh-regular-40"; "Oddball(macosx)" = "Herculanum-regular-40"; }
- programs.phoebus-client.java_opts string[source]¶
Set Java options for the Phoebus client.
For more information, see: https://docs.oracle.com/en/java/javase/21/docs/specs/man/java.html#extra-options-for-java
Default value¶"-XX:MinHeapSize=128m -XX:MaxHeapSize=4g -XX:InitialHeapSize=1g -XX:MaxHeapFreeRatio=10 -XX:MinHeapFreeRatio=5 -XX:-ShrinkHeapInSteps -XX:NativeMemoryTracking=detail"Example¶"-XX:MinHeapSize=128m -XX:MaxHeapSize=4g -XX:InitialHeapSize=1g"
- programs.phoebus-client.package package[source]¶
The Phoebus package to use. This package is “wrapped” into
finalPackageto use the given preference settings, Java options, etc.Default value¶pkgs.epnix.phoebus
- programs.phoebus-client.settings attribute set of (string, package, bool, int or float)[source]¶
Phoebus preference setting, as defined in the Preferences Listing Phoebus documentation.
Default value¶{ }
Example¶{ "org.csstudio.trends.databrowser3/urls" = "pbraw://localhost:8080/retrieval"; "org.phoebus.applications.alarm/config_names" = "Accelerator, Demo"; "org.phoebus.applications.alarm/server" = "localhost:9092"; }
- programs.phoebus-client.settings."org.csstudio.display.builder.model/color_files" absolute path or string[source]¶
Named colors definition files.
One or more
color.deffiles, separated by;.By default, the file is generated from the
colorDefoption, if defined, or to built-in copy ofexamples/color.defifcolorDefisn’t defined.Note
Use the this option if you want to import an already existing
color.deffile. If you override this option,colorDefoptions are ignored.Default value¶"<file generated from 'colorDef' if defined, else the default colors>"Example¶./color.def
- programs.phoebus-client.settings."org.csstudio.display.builder.model/font_files" absolute path or string[source]¶
Named fonts definition files.
One or more
font.deffiles, separated by;.By default, the file is generated from the
fontDefoption, if defined, or to built-in copy ofexamples/font.defiffontDefisn’t defined.Note
Use the this option if you want to import an already existing
font.deffile. If you override this option,fontDefoptions are ignored.Default value¶"<file generated from 'fontDef' if defined, else the default fonts>"Example¶./font.def
- programs.phoebus-client.settings."org.csstudio.display.builder.model/macros" attribute set of string[source]¶
Global macros, used for all displays.
Displays start with these macros, and can then add new macros or overwrite the values of these macros.
- Format:
The macro name must be a valid XML tag name:
Must start with character
May then contain characters or numbers
May also contain underscores
Default value¶{ }
Example¶{ EXAMPLE_MACRO = "Value from Preferences"; TEST = "true"; }
- programs.phoebus-client.settings."org.phoebus.pv.ca/addr_list" list of string[source]¶
Channel Access address list.
Use
lib.mkForceto override values fromenvironment.epics.ca_addr_list.Default value¶if config.environment.epics.enable then config.environment.epics.ca_addr_list else [];
- programs.phoebus-client.settings."org.phoebus.pv.ca/auto_addr_list" boolean[source]¶
Derive the CA address list from the available network interfaces.
Use
lib.mkForceto override values fromenvironment.epics.ca_auto_addr_list.Default value¶if config.environment.epics.enable then config.environment.epics.ca_auto_addr_list else [];
- programs.phoebus-client.settingsFile absolute path or string[source]¶
Path to a
settings.inifile, to be used by Phoebus.By default, the file is generated from the
settingsoption.Note
Use the
settingsFileoption if you want to import an already existingsettings.inifile. If you override this option,settingsoptions are ignored.May also point to a remote URL.
Default value¶"<file generated from the 'settings' options>"Example¶./settings.ini