1 / 7

Free Pizza!

Free Pizza!. Kasemirk@ornl.gov , Sept. 2005. Ideas, anybody?. Need more frequent exchange of ideas. Pretty much anything might give somebody a good idea. “ELog Filter” led to Dave Purcell’s Ch22 page Pam’s brief IOC status classification demo. Scripting?. Meaning in this context:

ravi
Download Presentation

Free Pizza!

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Free Pizza! Kasemirk@ornl.gov, Sept. 2005

  2. Ideas, anybody? • Need more frequent exchange of ideas. Pretty much anything might give somebody a good idea. • “ELog Filter” led to Dave Purcell’s Ch22 page • Pam’s brief IOC status classification demo

  3. Scripting? • Meaning in this context: • No (noticable) compilation required, no reboot,but still a full programming language. • Ideally also offers GUI-building features. • Useful for: • One-of experiments • Rapid development, tests of ideas

  4. Python? • Tcl/tk • Oldest one around • Established “tk” widget set for GUI • I don’t like how a=b +c turns into “set a [ expr $b + $c ];” • Perl • Terrific for text handling (e.g. elog filter…) • “$a = $b + $c;” • Python • Comparably new, object support from the start • “a = b + c”

  5. Examples • “Framework”: • CA_App • PV (test1) • PV_Label (test2), • LED, custom callbacks (test3) • Dial (test4) • StripGraph (test5) • Applications • Scan • QuenchCheck

  6. Issues, Alternatives • “Python/CA” needs to be maintained • python, tcl, tk, BLT, Pmw, SWIG, capython, caChannel, Numarray, Freetype2, libPNG, Mathplotlib • D0/Fermilab: last html update 2000, based on R3.13. • “Soft” IOCs • “Reboot” is instantaneous. • Trivially ports onto “hard” IOC. • SNL recompilation, separation of GUI and logic still a bit slower than scriping. • Matlab • Very useful for “start”, “do math”, “plot”, “done”.I find it less practical for GUI building & periodic processing. • Jython & XAL • Python platform with GUI and CA that’s supported at SNS?

More Related