STAC usage at Diamond Richard Fearn Software Engineer.

12
STAC usage at Diamond Richard Fearn Software Engineer

Transcript of STAC usage at Diamond Richard Fearn Software Engineer.

Page 1: STAC usage at Diamond Richard Fearn Software Engineer.

STAC usage at Diamond

Richard FearnSoftware Engineer

Page 2: STAC usage at Diamond Richard Fearn Software Engineer.

About me

• Software engineer in DASC

• Coordinating GDA development for MX– primarily data acquisition

Page 3: STAC usage at Diamond Richard Fearn Software Engineer.

GDA overview

• developed at Daresbury; continued at Diamond• single software framework for all beamlines• consistent LaF; modular, flexible, configurable• mostly Java; has Jython interpreter• uses many open source components• GUI has Jython terminal for command-line

interaction, and Jython script editor

Page 4: STAC usage at Diamond Richard Fearn Software Engineer.

GDA architecture

GDA server

GDA GUI GDA GUI

EPICS

Jython interpreter

CORBA/RMI CORBA/RMI

Channel Access

Page 5: STAC usage at Diamond Richard Fearn Software Engineer.

Existing GDA for MX

Page 6: STAC usage at Diamond Richard Fearn Software Engineer.

Existing GDA for MX

Page 7: STAC usage at Diamond Richard Fearn Software Engineer.

STAC integration (1)

• Embedded in GUI as separate tab

• GDA-specific plugin– Can control motors & run scripts

Page 8: STAC usage at Diamond Richard Fearn Software Engineer.

STAC integration (2)

GDA server

GDA GUI

EPICS

Jython interpreter

CORBA/RMI

Channel Access

STAC

CORBA/RMI

Page 9: STAC usage at Diamond Richard Fearn Software Engineer.

Changes required

• Logging

• Compilation errors

• Minor changes– Eclipse project, missing image, Ant build file

• Source download would be useful

Page 10: STAC usage at Diamond Richard Fearn Software Engineer.

New Eclipse GUI

Page 11: STAC usage at Diamond Richard Fearn Software Engineer.

STAC integration (3)

GDA server

GDA GUI

EPICS

Jython interpreter

CORBA/RMI

Channel Access

STAC

CORBA/RMI

Page 12: STAC usage at Diamond Richard Fearn Software Engineer.

Data processing

• EDNA / fast_dp / xia2 run automatically– Depending on number of images, etc.

• Looking at integrating STAC into EDNA– Few images to characterise sample– Then ordinary data collection

• SDA will give users more control over analysis