1 / 32

EPICS Training Client Tools

EPICS Training Client Tools. EPICS collaboration meeting 2008 INFN - Laboratori Nazionali di Legnaro , 13th October 2008 Matthias Clausen, Jan Hatje, Helge Rickens DESY / MKS-2. Overview. Preparation for the Training Session Setting up Preferences in order to use additional plugins

aizza
Download Presentation

EPICS Training Client Tools

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. EPICS TrainingClient Tools EPICS collaboration meeting2008 INFN - Laboratori Nazionali di Legnaro, 13th October 2008 Matthias Clausen, Jan Hatje, Helge Rickens DESY / MKS-2

  2. Overview • Preparation for the Training Session • Setting up Preferences in order to use additional plugins • Command Line Client Tools • Small set of useful commands on the IOC • Client Tools • CSS – a collections of Client Tools

  3. Prepare the training session • Get Training IOC from: • http://css.desy.de/content/e413/index_eng.html • 6.) softIoc (use this link directlry) or: • http://css.desy.de/content/e413/e903/TrainingIoc.zip • Unzip into your Training-Directory • Get the latest CSS-beta release from: • http://css.desy.de/content/e413/e1289/index_eng.html • Copy the CSS-Beta zip file • Unzip into your Training-Directory • Follow the instructions:To get the CSS applications please use the Beta Update Site at DESY: ... To install the necessary plugins

  4. Get the necessary Plugins for the Training installed • Extract the zip file • Start CSS with the css executable. (If you do not have a XMPP account you can cancel the login dialog) • Select menu 'help' -> Software updates -> Find and install... • Select 'Search for new features to install', click 'Next' • Select 'new remote site' with the URL 'eclipse.desy.de/update/beta', click 'Next‚ • Next Page

  5. Select Beta Feature ->[NEXT] Accept License Terms ->[NEXT] ->[FINISH] Download will take several minutes! [Install ALL] Restart Now -> [Yes] Add Beta desy feature (if time permits) ... so far you‘ve installe CSS-coreNow get the Applications loaded (Plugins)

  6. Setting up preferences for the CSS Training • CSS and the Training IOC should work together ‘out of the box’ (on a Windows Machine) • Special settings are necessary in order to use the CSS plugins which talk to: • The LDAP server … • The JMS server … • The RMI SaveButton … • … on the krykxmpp.desy.de server • These settings are optional and not necessary to run the CSS-SDS Training

  7. LDAP Preferences • Replace • krynfs.desy.de • With • krykxmpp.desy.de

  8. EPICS Client Applications: From the Command Line I • Getting/ Setting and Monitoring values from the command line • >caget recordName(.field) • >caput recordName(.field) • >camonitor recordName(.field) • Training: Start the IOC • Go to the bin folder and issue the commands • Pick up record names from Namespace Browser(in CSS)

  9. EPICS Client Applications: From the Command Line II • Getting/ Setting a whole trunk of values from the command line • >caGet listOfRecords.cfg listOfRecordsWithValue.txt(read from IOC) • >caPut listOfRecordsWithValue.txt(write back to IOC) • Training: NOT part of this distribution

  10. EPICS Client Applications: From the Command Line III*(included in CSS) • Monitoring Channel Access Traffic: • >caSnooper* • Training: ->CSS plugin

  11. Useful Commands on the IOC: • Get list of records on the IOC: • TrainingIoc >dbl • Channel access debug information: • TrainingIoc >casr [#] (# - interest level)

  12. EPICS Client Applications *(included in CSS, **implemented in a headless CSS application) • Debug: • Probe* • Current- and Archive-Data Display: • StripTool* • Alarm: • AlarmHandler (Display*, Configuration*, Actions**, Archiving**) • Display: • (dm), medm, dm2k,edm * • Save/Restore: • burt • And many more: • http://www.aps.anl.gov/epics/extensions/index.php

  13. Probe: Quick access to record properties

  14. Alarm Handler (Display)

  15. Alarm Handler (Configuration File)

  16. Strip Tool: Display for current and archived data

  17. Control System Studio: A Container for alle of these client applications – And many more...

  18. CSS – Training • Start • The • Training

  19. IOC Database Answer Connect Send DBR_Display -Value -TimeStamp -Status -Severity -HighDisplay -LowDisplay Answer Connect Send DBR_Display Records, Channels and [Characteristics] • Channel Access • CA-Search • CA- Connect • CA-Search • CA- Connect • DAL in CSS • Initial connection • Forward VALUE • Store Display Limits • Return [graphMax] • Initial connection • CSS SDS • SDS-Channel : ‚Fred‚ • Display Value • Ask for • Fred[graphMax] • Use [grapMax] • Ask for • Fred.HIHI • Use Fred.HIHI

  20. JMS Preferences

  21. LDAP Preferences

  22. saveValue Preferences

  23. Setting up the working environment • Select: • Display Development • Open new Perspective

  24. Copy the SDS Training to your workspace • The graphic files for the training are part of the CSS distribution.

  25. Copy Script Rule from Training to Root • Copy from Training: • 99_SDS_Script_Rules • use Right Mouse Button!! • Paste into: • SDS Script Rules • use Right Mouse Button!!

  26. Add Main Display to Quick Start • Add MainDisplay of the Training to the Quickstart Menu • Try other features available under the Right Mouse Button Menu • ...Like the Team Funktions • (cvs ins available (default))

  27. LDAP Properties of Alarm Channels

  28. Create an SNL Project • In the Navigator: • New -> • Project -> • SNL Project • This will create an SNL-Editor project. • Including some example programs • Add an Eclipse Outline view to this perspective

  29. SNL Editor Project in a new Perspective

  30. Online Help @http://krykxmpp:8099/help/index.jsp

  31. Further information • For more information or to download CSS please see the CSS website: http://css.desy.de • To get the CSS applications please use the update mechanism: Help → Software Updates → Find and Install → Search for new features • For questions please contact: matthias.clausen@desy.de, jan.hatje@desy.de • - Thank you -

More Related