14
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 :-)

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

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

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 :-)

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),…

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)

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

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 !

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

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

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

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 9

www.cosylab.com

Example: Power Supply Table

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 10

www.cosylab.com

Display of Data Quality

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 11

www.cosylab.com

Archive Reader for DESY

Jožef Stefan Institute

EPICS Collaboration Meeting Igor Verstovsek, Abeans and CosyBeans 12

www.cosylab.com

Abeans and CosyBeans “Live”

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

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