320 likes | 337 Views
A comprehensive guide for setting up preferences and client tools for the CSS training session. Follow step-by-step instructions to install necessary plugins, configure settings for LDAP and JMS servers, and utilize EPICS client applications from the command line. Enhance your training experience by accessing essential tools and resources seamlessly.
E N D
EPICS TrainingClient Tools EPICS collaboration meeting2008 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 • 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
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
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)
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 • >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)
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
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, **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
Control System Studio: A Container for alle of these client applications – And many more...
CSS – Training • Start • The • Training
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
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 • use Right Mouse Button!!
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))
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
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 -