Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Prepare the training session Get Training IOC from: –6.) softIoc (use this link directlry) or:softIoc – –Unzip into your Training-Directory Get the latest CSS-beta release from: –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
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting so far you‘ve installe CSS-core Now get the Applications loaded (Plugins) 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)
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting LDAP Preferences Replace krynfs.desy.de With krykxmpp.desy.de
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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)
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting EPICS Client Applications: From the Command Line III *(included in CSS) Monitoring Channel Access Traffic: >caSnooper* Training: ->CSS plugin
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Useful Commands on the IOC: Get list of records on the IOC: TrainingIoc >dbl Channel access debug information: TrainingIoc >casr [#] (# - interest level)
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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:
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Probe: Quick access to record properties
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Alarm Handler (Display)
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Alarm Handler (Configuration File)
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Strip Tool: Display for current and archived data
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Control System Studio: A Container for alle of these client applications – And many more...
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting CSS – Training Start The Training
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Records, Channels and [Characteristics] IOC Database Answer Connect Send DBR_Display -Value -TimeStamp -Status -Severity -HighDisplay -LowDisplay Answer Connect Send DBR_Display 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
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting JMS Preferences
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting LDAP Preferences
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting saveValue Preferences
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Setting up the working environment Open new Perspective Select: Display Development
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Copy the SDS Training to your workspace The graphic files for the training are part of the CSS distribution.
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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!!
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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))
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting LDAP Properties of Alarm Channels
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 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
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting SNL Editor Project in a new Perspective
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Online
Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting Further information For more information or to download CSS please see the CSS website: To get the CSS applications please use the update mechanism: Help → Software Updates → Find and Install → Search for new features For questions please contact: - Thank you -