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 Command Line Client Tools Small set of useful commands on the IOC Client Tools CSS – a collections of Client Tools
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 Follow the instructions: To get the CSS applications please use the Beta Update Site at DESY: ... To install the necessary plugins
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
... so far you‘ve installe CSS-core Now get the Applications loaded (Plugins) Select Beta Feature ->[NEXT] Accept License Terms ->[FINISH] Download will take several minutes! [Install ALL] Restart Now -> [Yes] Add Beta desy feature (if time permits)
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
LDAP Preferences Replace krynfs.desy.de With krykxmpp.desy.de
EPICS Client Applications: From the Command Line I Getting/ Setting and Monitoring values from the command line >getvalue recordName(.field) >putvalue recordName(.field) >monitorvalue recordName(.field) Training: Start the IOC Go to the bin folder and issue the commands Pick up record names from Namespace Browser (in CSS)
EPICS Client Applications: From the Command Line II Getting/ Setting a whole trunk of values from the command line >getValue listOfRecords.cfg listOfRecordsWithValue.txt (read from IOC) >putValue listOfRecordsWithValue.txt (write back to IOC) Training: NOT part of this distribution
EPICS Client Applications: From the Command Line III *(included in CSS) Monitoring Channel Access Traffic: >caSnooper* Training: ->CSS plugin
Useful Commands on the IOC: Get list of records on the IOC: TrainingIoc >dbl Channel access debug information: TrainingIoc >casr [#] (# - interest level)
EPICS Client Applications. (included in CSS, 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
Probe: Quick access to record properties
Alarm Handler (Display)
Alarm Handler (Configuration File)
Strip Tool: Display for current and archived data
Control System Studio: A Container for alle of these client applications – And many more...
CSS – Training Start The Training
Records, Channels and [Characteristics] IOC Database Answer Connect Send DBR_Display -Value -TimeStamp -Status -Severity -HighDisplay -LowDisplay Channel Access CA-Search CA- Connect DAL in CSS Initial connection Forward VALUE Store Display Limits Return [graphMax] CSS SDS SDS-Channel : ‚Fred‚ Display Value Ask for Fred[graphMax] Use [grapMax] Fred.HIHI Use Fred.HIHI
JMS Preferences
LDAP Preferences
saveValue Preferences
Setting up the working environment Select: Display Development Open new Perspective
Copy the SDS Training to your workspace The graphic files for the training are part of the CSS distribution.
Copy Script Rule from Training to Root Copy from Training: 99_SDS_Script_Rules use Right Mouse Button!! Paste into: SDS Script Rules
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))
LDAP Properties of Alarm Channels
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
SNL Editor Project in a new Perspective
Online Help @ http://krykxmpp:8099/help/index.jsp
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 -