1 / 10

Control System Studio Training - Compiling, running CSS

Control System Studio Training - Compiling, running CSS. Kay Kasemir ORNL/SNS kasemirk@ornl.gov 2012, January 9-12 at NSRRC, Taiwan. End Users can “ use ” CSS … if somebody prepares it for them!. Getting CSS to run from source code. Get Java , Eclipse, CSS Sources Start Eclipse

Télécharger la présentation

Control System Studio Training - Compiling, running CSS

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. Control System Studio Training-Compiling,running CSS Kay Kasemir ORNL/SNS kasemirk@ornl.gov 2012, January 9-12 at NSRRC, Taiwan

  2. End Users can“use”CSS … if somebody prepares it for them!

  3. Getting CSS to run from source code • Get Java, Eclipse, CSS Sources • Start Eclipse • “Import”Sources into Workspace • Open CSS *.product file, Launch • Maybe Export *.product

  4. Java, Eclipse • Check: Is java available? java -version Need Sun/Oracle Java 1.6, 1.7;Not GCJ, OpenJDK • Start Eclipse eclipse/eclipse “Workspace”:use CSS/Workspace in your home directory

  5. Source Code vs. Eclipse Workspace • Source Code: • Where the sources are • Workspace:Directory with“.metadata”subdir. • Tracks currentlyopen window, … To avoid confusion: Keep Separate! • Example: Use CSS/Sources, CSS/Workspace

  6. Eclipse Workspace “Import” Sourcesinto Workspace: • File/Import…,General,Existing Projectsinto Workspace • Select “root” directory,import all projects found • Do not“Copy projects into Workspace” Note: Need to “Import” even if sources are already located in workspace directory

  7. Run Product Open org.csstudio.basic.epics.product/*.product Press • Synchronize • Launch an Eclipse application • Later, re-run via the Run button in toolbar

  8. First Steps • Close the “Welcome…” screen • Check Menu Edit/Preferences/CSS Core/EPICS • Channel Access address list: 127.0.0.1? • Menu CSS/Diagnostic Tools/Probe • Demo PVs: “sim://sine”, “demo:tank” • CSS/Diagnostic Tools/EPICS PV Tree • Move Windows around • Context menu

  9. Check Point • We can compile, launch, use CSS within IDE • Create Standalone Product

  10. Exporting a Product Export Product • Root DirectoryName, e.g. “css” no path! • Destination DirectoryPath,e.g. /usr/fred/CSS/binDirectory must be empty! • Un-check “Generate metadata repository” • Finish, try the result

More Related