EPICS collaboration meeting 2008 EPICS Training Client Tools
EPICS collaboration meeting 2008 EPICS Training Client Tools EPICS collaboration meeting 2008 INFN - Laboratori Nazionali di Legnaro , 13 th October 2008 Matthias Clausen, Jan Hatje, Helge Rickens DESY / MKS-2 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 1
EPICS collaboration meeting 2008 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 2
EPICS collaboration meeting 2008 Prepare the training session Get Training IOC from: http: //css. desy. de/content/e 413/index_eng. html – 6. ) soft. Ioc (use this link directlry) or: – http: //css. desy. de/content/e 413/e 903/Training. Ioc. zip – Unzip into your Training-Directory Get the latest CSS-beta release from: http: //css. desy. de/content/e 413/e 1289/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 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 3
EPICS collaboration meeting 2008 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 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 4
EPICS collaboration meeting 2008 . . . 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 5
EPICS collaboration meeting 2008 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 Save. Button … … 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 6
EPICS collaboration meeting 2008 LDAP Preferences Replace krynfs. desy. de With krykxmpp. desy. de Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 7
EPICS collaboration meeting 2008 EPICS Client Applications: From the Command Line I Getting/ Setting and Monitoring values from the command line >getvalue record. Name(. field) >putvalue record. Name(. field) >monitorvalue record. Name(. 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 8
EPICS collaboration meeting 2008 EPICS Client Applications: From the Command Line II Getting/ Setting a whole trunk of values from the command line >get. Value list. Of. Records. cfg list. Of. Records. With. Value. txt (read from IOC) >put. Value list. Of. Records. With. Value. txt (write back to IOC) Training: NOT part of this distribution Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 9
EPICS collaboration meeting 2008 EPICS Client Applications: From the Command Line III *(included in CSS) Monitoring Channel Access Traffic: >ca. Snooper* Training: ->CSS plugin Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 10
EPICS collaboration meeting 2008 Useful Commands on the IOC: Get list of records on the IOC: Training. Ioc >dbl Channel access debug information: Training. Ioc >casr [#] (# - interest level) Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 11
EPICS collaboration meeting 2008 EPICS Client Applications *(included in CSS, **implemented in a headless CSS application) Debug: • Probe* Current- and Archive-Data Display: • Strip. Tool* Alarm: • Alarm. Handler (Display*, Configuration*, Actions**, Archiving**) Display: • (dm), medm, dm 2 k, edm * Save/Restore: • burt And many more: http: //www. aps. anl. gov/epics/extensions/index. php Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 12
EPICS collaboration meeting 2008 Probe: Quick access to record properties Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 13
EPICS collaboration meeting 2008 Alarm Handler (Display) Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 14
EPICS collaboration meeting 2008 Alarm Handler (Configuration File) Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 15
EPICS collaboration meeting 2008 Strip Tool: Display for current and archived data Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 16
EPICS collaboration meeting 2008 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 17
EPICS collaboration meeting 2008 Control System Studio: A Container for alle of these client applications – And many more. . . Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 18
EPICS collaboration meeting 2008 CSS – Training Start The Training Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 19
EPICS collaboration meeting 2008 Records, Channels and [Characteristics] IOC Database Channel Access DAL in CSS Answer Connect Send DBR_Display -Value -Time. Stamp -Status -Severity -High. Display -Low. Display Answer Connect Send DBR_Display CA-Search CA- Connect Initial connection Forward VALUE Store Display Limits Return [graph. Max] Initial connection CA-Search CA- Connect Matthias Clausen, DESY EPICS Training – Client Tools/ CSS SDS-Channel : ‚Fred‚ Display Value Ask for Fred[graph. Max] Use [grap. Max] Ask for Fred. HIHI Use Fred. HIHI 20
EPICS collaboration meeting 2008 JMS Preferences Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 21
EPICS collaboration meeting 2008 LDAP Preferences Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 22
EPICS collaboration meeting 2008 save. Value Preferences Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 23
EPICS collaboration meeting 2008 Setting up the working environment Open new Perspective Matthias Clausen, DESY EPICS Training – Client Tools/ CSS Select: Display Development 24
EPICS collaboration meeting 2008 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 25
EPICS collaboration meeting 2008 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 26
EPICS collaboration meeting 2008 Add Main Display to Quick Start Add Main. Display 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 27
EPICS collaboration meeting 2008 LDAP Properties of Alarm Channels Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 28
EPICS collaboration meeting 2008 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 29
EPICS collaboration meeting 2008 SNL Editor Project in a new Perspective Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 30
EPICS collaboration meeting 2008 Online Help @ http: //krykxmpp: 8099/help/index. jsp Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 31
EPICS collaboration meeting 2008 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 - Matthias Clausen, DESY EPICS Training – Client Tools/ CSS 32
- Slides: 32