Top Banner
Jožef Stefan Institute Abeans and CosyBeans Application and User Interface Frameworks for EPICS Igor Verstovsek ([email protected]), et al. Cosylab (the company that brought you Visual DCT :-)
14

Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Apr 30, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef StefanInstitute

Abeans and CosyBeans

Application and User Interface Frameworks for EPICS

Igor Verstovsek ([email protected]), et al.

Cosylab (the company that brought you Visual DCT :-)

Page 2: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2

www.cosylab.com

Application Frameworks and EPICS

• What are they?–Abeans

• Modeling, data exchange

–CosyBeans• Visual representation

–High quality of code and documentation–6 years of continuous development–Used at: ANKA, ESO, DESY (work in

progress), SNS (work in progress), RIKEN (testing), GSI (testing),…

Page 3: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 3

www.cosylab.com

1/2Abeans

Modeling of control systems• Models

–Logical containment of CS Objects–EPICS records map to Abeans Channel

Object• Plugs

–Connection to remote modeling layer–ACS CORBA, UFC, TINE and EPICS (jca)

Page 4: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 4

www.cosylab.com

Abeans 2/2

• Services–Error reporting, Logging, Resource

loading, Configuration management...–Easy to replace, register at runtime

• Therefore Abeans are used by–Visualization libraries (e.g. CosyBeans)–Calculation packages (XAL by SNS, Orbit

Correction in ANKA)• Abeans prepare the data for visualization

– Java Beans

Page 5: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 5

www.cosylab.com

CosyBeans 1/4

Graphical components

• Optimized for– Functionality– Performance– Good looks :-)

• Use standard Java visual building tools

• Point & click vs. programming ?– Combine both !

Page 6: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 6

www.cosylab.com

CosyBeans 2/4

• Displayers (controls)– gauger, slider, ledder, wheelswitch, chart –

trend and profile, date displayer, auto-resizable label, number field, object table, active tree,…

• Application support– smart drag and drop, report area, standard

actions (e.g. print, help), logging panel, window closer,…

– provided on demand

Page 7: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 7

www.cosylab.com

CosyBeans 3/4

• Launching the Application

ApplicationJVM Sharing

Applet

Internal Frame

Webstart

Page 8: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 8

www.cosylab.com

CosyBeans 4/4

• Java Virtual Machine Sharing

Sh

are

?

Yes

Tra

nsfe

r Ap

p. d

ata

Another JavaAbeans Application

JVM 2

Java AbeansApplication

JVM 1

Page 9: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 9

www.cosylab.com

Example: Power Supply Table

Page 10: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 10

www.cosylab.com

Display of Data Quality

Page 11: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 11

www.cosylab.com

Archive Reader for DESY

Page 12: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 12

www.cosylab.com

Abeans and CosyBeans “Live”

Page 13: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 13

www.cosylab.com

Quality Assurance

• The libraries are very well documented• Same core code is used everywhere

–Fix once, enjoy everywhere• Automatic JUnit tests are used

–Run with every build• Automatic ANT build process

–The same as Visual DCT• Request Tracker bug management tool

Page 14: Abeans and CosyBeans - jlab.org · EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 2 Application Frameworks and EPICS • What are they? –Abeans •Modeling, data

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 14

www.cosylab.com

Conclusion

• Bring experience from other CS to EPICS–20 man-years of development

• Everything is open source• EPICS – Abeans: Collaboration with SNS

Abeans and CosyBeans are ready for EPICS

Thank you!

www.cosylab.com