Download Letter - OpenGDA
Transcript
CONTENTS 1 Introduction to the GDA 1.1 Aims of the framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Design overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 Major design concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 GDA installation 2.1 Introduction . . . . . . . . . 2.2 Installation Folder Structure . 2.3 Configuration Folder Structure 2.4 Starting to develop the GDA . 3 3 3 3 . . . . 5 5 5 6 10 3 Jython Script types 3.1 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Adding a Script Queue to the Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Linking Scripts and the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 12 12 13 4 Writing new Device classes in Jython and Java 4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 The Scannable interface and ScannableBase classes . . . . . . . . 4.3 Description of the Scannable properties and relations between them 4.4 Add a new device to the server . . . . . . . . . . . . . . . . . . . . 4.5 Examples of other Scannable classes and tests in GDA . . . . . . . 4.6 Demonstrate use of Scannable in terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 15 15 16 17 19 19 Swing Client GUI development 5.1 Introduction . . . . . . . . . . . . . . . . . . 5.2 Writing the Swing GUI component . . . . . . 5.3 Adding the new component to the GDA client 5.4 CORBAising the object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 21 21 22 22 6 RCP Client GUI development 6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 The Experiment Perspective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 25 25 7 Remoting 7.1 CORBA in the GDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2 Alternatives to CORBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 29 33 8 GDA configuration 8.1 Spring configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 37 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i