control system studio (css) kunal shroff epics training meeting 07/10/2010

20
Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010

Upload: prosper-bennett

Post on 26-Dec-2015

217 views

Category:

Documents


0 download

TRANSCRIPT

Control System Studio (CSS)

Kunal ShroffEPICS Training Meeting

07/10/2010

CSS: Introduction

• CSS is a common platform for new control system applications

• CSS software is built on top of the Eclipse Rich Client Platform

• Provides developers with management infrastructure and a centralised connection to external data sources.

CSS: installation

• Step 1.o Download css product based on your OS, site,

requirement…o http://cs-studio.sourceforge.net/

• Step 2.o Unzip

CSS: installation

• Why are there multiple CSS product’s ?o Site specific product

Set of applications Configurations

• Wikio http://sourceforge.net/apps/trac/cs-studio

CSS: Workspace

• Stores configuration fileso CSS core pluginso CSS applications/tools

• One workspace each instance of CSS• Project and files can be shared between various

instances• Training workspace

o http://www.bnl.gov/epics/ → Agenda

CSS:Perspectives

• Editor• view

• view

• view

CSS: Help

• Help->help contents• Search• Browse

CSS: Probe

• CSS→Diagnostic Tools →Probe

• basic reading and writing of Process Variables (PVs). o Cageto Caputo Camonitor

CSS: EPICS PVtree

• Displays the hierarchical data flow between EPICS records.

• displayso record typeso alarm servertity

CSS: Best OPI Yet (BOY)

• BOY is an Operator Interface (OPI) development and runtime environment.

• Developed at SNS by Kay Kasemir & Xihui Chen• BOY is integrated in CSS• Runtime

o Web-Browser like navigationo Scalable

• Editoro Easy to useo Simplified Dynamic support (rules)

CSS: BOY Editor PerspectiveCSS → Display → OPI Perspective

CSS: BOY Runtime Perspective

CSS: BOY Widgets

• Graphics: The graphics widgets can help you decorate your OPI. (Image, arc, rectangle)

• Monitors: The widgets that can graphically display the value of PV in various ways. (Text update, meter)

• Controls: The widgets by which you can make control operations directly. (action button, text input)

• Others: The other widgets which is not in the three major categories. (web Browser, linked container)

CSS: BOY getting started

• Create a simple OPI with Text Update widget using a simulated pv (sim://noise)

• sim:// Simulated PVs can have these formats: sim://noise

generates simulated noise from -5 to 5, updating once every second.

sim://noise(-10, 10, 0.2)generates simulated noise from -10 to 10, updating every 0.2 seconds.

sim://sine(0, 10, 20, 0.5)generates a simulated sine wave signal valued 0 to 10, split into 20 updates, updating every 0.5 seconds. A full period takes 20 updates, i.e. 5 seconds in this example.

sim://ramp(0, 10, 0.1, 0.5)generates a ramp (saw-tooth) valued 0 to 10, stepping 0.1 every 0.5 seconds.

CSS: BOY getting started

• Connect to the ${P}:count

• Use Text Input widget to change o Set size (INPB)o Function (CALC)

• Add a menu button to change SCAN rate• Add action to reset the count

CSS: BOY getting started

• XY chart widget o Scalar and waveform recordso line chart, scatter chart, bar chart, step chart, area chart... o Abundant interactive operationso Configure properties during runningo log scale, date time format

• Use the XY chart to monitor the Gaussian waveformo Set PV Name to ${P}:histo Uncheck concatenate under the trace properties

CSS: BOY is that it?

• Dozens of widget• Actions, rules and script framework to support

dynamic operations• Integrated with the CSS tools• Extensible with custom widgets

CSS: BOY Self-Training Resources

• BOY Homepageo http://sourceforge.net/apps/trac/cs-studio/wiki/BOY

• Exampleso CSS->Display->Install OPI Examples

• Helpo Help->help Contents

CSS: If you liked this you might like

• Thursday 14 October 2010o CSS overview & updateo BOY (OPI)o BEAST (Alarm System)o Channelfinder Viewer

Questions