Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October 17-21 at CEA Saclay, France Control System Studio.

Slides:



Advertisements
Similar presentations
Using T4Eclipse tool to Analyze Eclipse UI For t4eclipse version Ben Xu July 17,2010.
Advertisements

Managed by UT-Battelle for the Department of Energy Xihui Chen, Kay Kasemir ORNL/SNS April 2013 at IHEP Control System Studio Setup - Hierarchical.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: First Steps Kay Kasemir ORNL/SNS June 2014.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April, 2013 Getting Started with CSS.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Authentication,
Views Dwight Deugo Nesa Matic
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Alarm System Use.
CRSX plug-in development. Prerequisites Software and Libraries Eclipse RCP (3.5 or higher) –Go –Select.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Alarm System Use.
By Steven Campbell and Erik Boone.  Sharing projects by putting them into a central repository.  Checking out copies of projects from the repository.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS 2012, April at SLAC Eclipse Products, Features, Plugins,
Chapter 5 Using SAS ® ETL Studio. Section 5.1 SAS ETL Studio Overview.
Getting Started with Eclipse Sandeep Pasuparthy. What’s Eclipse? It is a free software / open source platform- independent software framework for delivering.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Workspaces, Shared.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Control System Studio (CSS)‏ Kunal Shroff EPICS Training Meeting 07/10/2010.
What you always wanted to know about Developing for Eclipse/CSS but were afraid to ask Kay Kasemir June 2010.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Web OPI.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: BOY Kay Kasemir ORNL/SNS A lot of material from.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Control System Studio (CSS) Overview Kay Kasemir, July 2009.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Feb Material copied from the IOC Application Developer's.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Archive System Setup.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
9/2/ CS171 -Math & Computer Science Department at Emory University.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS With slides from Xihui Chen May 2014 Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Development Setup.
Creating ontology Hands on! universAAL Training Day Barcelona, Spain 16 January 2014
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
CSS – Control System Studio
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April Control System Studio Training - Development.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio, CSS Overview.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
Introduction to Eclipse Programming with an Integrated Development Environment.
Applications Kay Kasemir ORNL/SNS Using Information and pictures from Matthias Clausen, Jan Hatje, and Helge Rickens (DESY) October 2007.
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Extension Points:
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Time to apply stuff… Faculty of Mathematics and Physics Charles University in Prague 5 th October 2015 Workshop 1 – Java Wrestling.
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting EPICS Training Client Tools EPICS collaboration meeting 2008.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
CSS Synoptic Display Comments Kay Kasemir, July 2009.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS May 2014 Control System Studio Training - Hierarchical Preferences.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
Implementation and Testing of RDB Channel Archiver with MySQL Richard Ma, DePauw University Supervisor: Richard Farnsworth, Argonne National Laboratory.
Introduction to Control System Studio (CSS) Kay Kasemir, Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
Java IDE Dwight Deugo Nesa Matic
Getting Started as an EdgeX Developer
Obtaining the Required Tools
Getting Started as an EdgeX Developer
EPICS Training Client Tools
CMPE 152: Compiler Design ANTLR 4 and C++
Presentation transcript:

Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio Training - Compiling, configuring, running CSS

2Managed by UT-Battelle for the Department of Energy Getting CSS to run from source code 1.Get Java, Eclipse, CSS Sources 2.Start Eclipse 3.“Import” sources into Workspace 4.Open CSS *.product file, Launch 5.Maybe export *.product

3Managed by UT-Battelle for the Department of Energy Java, Eclipse  Check: Is java available? java -version Need Java 1.6, Sun/Oracle; Not GCJ, OpenJDK  Start Eclipse eclipse/eclipse “Workspace”: use CSS/Workspace in your home directory

4Managed by UT-Battelle for the Department of Energy Eclipse Workspace  Workspace: Directory with “.metadata” subdir. –Tracks currently open window, …  Source code: May be in Workspace dir. or elsewhere –We use CSS/Sources in home dir.

5Managed by UT-Battelle for the Department of Energy Eclipse Workspace “Import” Sources into Workspace: –File/Import…, General, Existing Projects into Workspace –Select source directory, import all projects found –Do not “Copy projects into Workspace” Note: Need to “Import” even if sources are already located in workspace directory

6Managed by UT-Battelle for the Department of Energy Run Product Open org.csstudio.basic.epics.product/*.product Press 1.Synchronize 2.Launch an Eclipse application

7Managed by UT-Battelle for the Department of Energy Control System Want to concentrate on CSS.. still need a control system to talk to a)Use built-in simulation PVs sim://sine sim://ramp sim://noise b)Use provided demo databases softIoc -m user=demo1 –s -d tank.db -d control.db Use your group number instead of “1”. Run ‘dbl’ to see list of records.

8Managed by UT-Battelle for the Department of Energy First Steps  Check CSS/Preferences/CSS Core/EPICS –Channel Access address list: ?  CSS/Diagnostic Tools/Probe  CSS/Diagnostic Tools/EPICS PV Tree  Move Windows around  Context menu

9Managed by UT-Battelle for the Department of Energy Check Point We can compile, launch, use CSS  Brief Look: Composition of a “Product”  Hierarchical Preferences

10Managed by UT-Battelle for the Department of Energy Product, Features

11Managed by UT-Battelle for the Department of Energy Brief Look: Plugins, Extension Points  org.csstudio.diag.probe – plugin.xml –Dependency on..utility.pv  org.csstudio.utility.pv –Extension point pvfactory  org.csstudio.utility.pv.epics –Implements that ext. point for “ ca ” –Depends on..libs.epics  org.csstudio.platform.libs.epics

12Managed by UT-Battelle for the Department of Energy Hierarchical Preferences  org.csstudio.platform.libs.epics preferences.ini: addr_list=  Product’s plugin_customization.ini: org.csstudio.platform.libs.epics/addr_list=  Command-line

13Managed by UT-Battelle for the Department of Energy Exercise: Preferences  In your home directory, create a file “my_css_settings.ini”  Add a line org.csstudio.platform.libs.epics/addr_list= –Use the IP address of your computer instead of  Run CSS with option -pluginCustomization /path/to/your/my_css-settings.ini –Need to check menu Run/Run Configurations… to do this from within the IDE  When you now view the CSS/Preferences/CSS Core/EPICS settings, press “Default”, does it use the value from your settings.ini?

14Managed by UT-Battelle for the Department of Energy Exporting a Product Export Product –Root Directory Name, e.g. “ css ” no path! –Destination Directory Path, e.g. /usr/fred/CSS/bin –Un-check “Generate metadata repository”  Finish, try the result

15Managed by UT-Battelle for the Department of Energy Exercise: Various smaller CSS Products  Find all *.product files (see docbook)  Start from IDE, or export & then start: org.csstudio.archive.engine/ArchiveEngine.product org.csstudio.archive.config.rdb/ArchiveConfigTool.product org.csstudio.alarm.beast.server/AlarmServer.product org.csstudio.alarm.beast.configtool/AlarmConfigTool.product org.csstudio.sns.jms2rdb/JMS2RDB.product The point is to be able to start these tools. They will exit with errors, for example about missing database connections. For now you should simply be able to start them.

16Managed by UT-Battelle for the Department of Energy Advanced Exercise: Update Repository  Export product, copy somewhere –This will be the “old” product.  Change something in code –Product’s into/overview.xml? –Product’s plugin_customization.ini settings  Increment version number of affected plugin, feature, product  Export new product with “Generate metadata repository” –This is now the “new” product. Locate the generated repository.  You could run the new product, but start the old Product, then use Help/.. to update from repository to the new product

17Managed by UT-Battelle for the Department of Energy Advanced Exercise: Headless Build  Read the docbook chapter  Check scripts of one or more existing headless build setups  Try to use one