Coder Social home page Coder Social logo

als-epics / phoebusgen Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 7.0 4.31 MB

Python to CS-Studio (Phoebus) XML

Home Page: https://als-epics.github.io/phoebusgen

License: GNU General Public License v2.0

Python 99.43% Shell 0.16% Makefile 0.18% Batchfile 0.23%
control-system-studio epics phoebus pip python

phoebusgen's People

Contributors

madelinespark avatar tynanford avatar zhangt58 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

phoebusgen's Issues

Finish remaining widgets

These are the remaining widgets left to be created

  • Polygon
  • Polyline
  • Tabs
  • Navigation Tabs
  • Byte Monitor
  • Text Symbol
  • Symbol
  • Scaled Slider
  • LED Multi State
  • Table
  • X/Y Plot
  • Strip Chart
  • Image

Make font properties more general

XYPlot, StripChart and Image widgets would benefit if the common font methods were available to use.

Probably need to move main font logic into _shared_property_helpers

Complete XYPlot Widget

  • Markers (List)
    • Color - color
    • PV Name - str
    • Interactive - bool
  • X Axis (Single)
    • Title - str
    • Auto-scale - bool
    • Log scale - bool
    • Minimum - int
    • Maximum - int
    • Show Grid - bool
    • Title Font - font
    • Scale Font - font
    • Visible - bool
  • Y Axes (List)
    • Title - str
    • Auto-scale - bool
    • Log scale - bool
    • Minimum - int
    • Maximum - int
    • Show Grid - bool
    • Title Font - font
    • Scale font - font
    • Visible - bool
  • Traces (List)
    • Name - str
    • X PV - str
    • Y PV - str
    • Error PV - str
    • Y Axis - int
    • Trace Type - enum
    • Color - color
    • Line Width - int
    • Line Style - enum
    • Point Type - enum
    • Point Size - int
    • Visible - bool

Complete Image Widget

  • Color Map
  • Color Mode
  • Color Bar (Single)
    • Visible - bool
    • Color Bar Size - int
    • Scale Font - font
  • X Axis (Single)
    • Visible - bool
    • Title - str
    • Minimum - int
    • Maximum - int
    • Title Font - font
    • Scale Font - font
  • Y Axis (Single)
    • Visible - bool
    • Title - str
    • Minimum - int
    • Maximum - int
    • Title Font - font
    • Scale Font - font
  • ROI (List)
    • Name - str
    • Color - color
    • Visible - bool
    • Interactive - bool
    • X PV - str
    • Y PV - str
    • Width PV - str
    • Height PV - str
    • File - str

Complete StripChart Widget

Remaining properties are a list of objects

  • Y Axes (List)
    • Title - str
    • Auto-Scale - bool
    • Log Scale - bool
    • Minimum - int
    • Maximum - int
    • Show Grid - bool
    • Visible - bool
  • Traces (List)
    • Name - str
    • Y PV - str
    • Y Axis - int
    • Trace Type - enum
    • Color - color
    • Line Width - int
    • Point Type - enum
    • Point Size -int
    • Visible - bool

Marco in action

Hi, Is it possible to add macro to "_Action"?

   BPMB='PREFIX:'
    actionB = w.ActionButton(B_name,B_name, B_pv_name, x_position+widget_length, y_position, widget_length, widget_height)
    actionB._prop_factory.add_macro('BPM', BPMB)
    actionB.action_open_display('main_bpm.bob','tab')

and I end up getting the macro outside of action so the macro didn't pass to the new display

    <macros>
      <BPM>PREFIX:</BPM>
    </macros>
    <actions>
      <action type="open_display">
        <description>Open Display</description>
        <file>main_bpm.bob</file>
        <target>tab</target>
      </action>
    </actions>

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.