Presentation is loading. Please wait.

Presentation is loading. Please wait.

Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 1 EPICS Training Client Tools EPICS collaboration meeting 2008.

Similar presentations


Presentation on theme: "Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 1 EPICS Training Client Tools EPICS collaboration meeting 2008."— Presentation transcript:

1 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 1 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

2 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 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 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 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:softIoc –http://css.desy.de/content/e413/e903/TrainingIoc.ziphttp://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 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 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 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 5... 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)

6 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 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 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 7 LDAP Preferences Replace krynfs.desy.de With krykxmpp.desy.de

8 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 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 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 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 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 10 EPICS Client Applications: From the Command Line III *(included in CSS) Monitoring Channel Access Traffic: >caSnooper*  Training: ->CSS plugin

11 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 11 Useful Commands on the IOC: Get list of records on the IOC: TrainingIoc >dbl Channel access debug information: TrainingIoc >casr [#] (# - interest level)

12 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 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 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 13 Probe: Quick access to record properties

14 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 14 Alarm Handler (Display)

15 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 15 Alarm Handler (Configuration File)

16 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 16 Strip Tool: Display for current and archived data

17 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 17

18 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 18 Control System Studio: A Container for alle of these client applications – And many more...

19 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 19 CSS – Training Start The Training

20 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 20 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

21 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 21 JMS Preferences

22 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 22 LDAP Preferences

23 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 23 saveValue Preferences

24 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 24 Setting up the working environment Open new Perspective Select: Display Development

25 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 25 Copy the SDS Training to your workspace The graphic files for the training are part of the CSS distribution.

26 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 26 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!!

27 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 27 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))

28 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 28 LDAP Properties of Alarm Channels

29 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 29 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

30 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 30 SNL Editor Project in a new Perspective

31 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 31 Online Help @ http://krykxmpp:8099/help/index.jsp

32 Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 32 Further information For more information or to download CSS please see the CSS website: http://css.desy.de 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 matthias.clausen@desy.de jan.hatje@desy.de - Thank you -


Download ppt "Matthias Clausen, DESY EPICS Training – Client Tools/ CSS EPICS collaboration meeting 2008 1 EPICS Training Client Tools EPICS collaboration meeting 2008."

Similar presentations


Ads by Google