r apid a pplication d evelopment e nvironment based on labview

24
Rapid Application Development Environment based on LabVIEW Adriaan Rijllart CERN EN-ICE CS Workshop, GSI, February 26-27, 2009

Upload: kurt

Post on 08-Jan-2016

49 views

Category:

Documents


2 download

DESCRIPTION

R apid A pplication D evelopment E nvironment based on LabVIEW. Adriaan Rijllart CERN EN-ICE. CS Workshop, GSI, February 26-27, 2009. Why?. Identified controls applications domains. Beam Control JAVA. SCADA PVSS. Test & Development. LabVIEW, MatLab, scripts, etc. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

Rapid Application Development Environment

based on LabVIEW

Rapid Application Development Environment

based on LabVIEW

Adriaan Rijllart

CERN EN-ICE

Adriaan Rijllart

CERN EN-ICE

CS Workshop, GSI, February 26-27, 2009CS Workshop, GSI, February 26-27, 2009

Page 2: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 2

Why?Why?

Page 3: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 3

Identified controls applications domainsIdentified controls applications domains

LabVIEW, MatLab, scripts, etc.

Beam Control JAVA

Beam Control JAVA

SCADA PVSS

SCADA PVSS

Test & Development Test & DevelopmentRapid Application Development Environment(RADE)

Page 4: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 4

Test & Development applications characteristicsTest & Development applications characteristics

Punctually used applications (i.e. expert diagnostics)

Rapidly evolving applications (i.e. machine development)

Stand-alone systems (i.e. test facilities)

Short development time applications (i.e. specific analysis)

Page 5: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 5

Fast programming Drag and drop GUI development Rapid learning curve Wide range of analysis libraries Light/independent environment

Fast programming Drag and drop GUI development Rapid learning curve Wide range of analysis libraries Light/independent environment

RequirementsRequirements

LabVIEWprogramminglanguage

Integration with the control infrastructure ourcontribution

Page 6: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 6

Other reasons for choosing LabVIEW Other reasons for choosing LabVIEW

We have a deep experience (more then 10 years)

LabVIEW is the second most used programming language used for accelerator control, as shown in ICALEPCS2007 presentations

EPICS and Tango have made a LabVIEW interface to their environments, mainly for the same reasons (rapid application development)

A world wide LabVIEW Accelerator User Group has been set up by ORNL during ICALEPCS2007

Commonly used in accelerators control in other labs:

CERN site license since many years

Page 7: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 7

…and for the accelerators at CERN?

…and for the accelerators at CERN?

LabVIEW is widely used (with custom libraries made by equipment groups)

LabVIEW is widely used (with custom libraries made by equipment groups)

Some examples …

Page 8: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 8

LabVIEW as equipment test tool

Java GUI

JAPCServer app

Equip. driverFESA

Equipment

LV app

3rd party driver

Integration after test

Page 9: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 9

Example in AB: Optical Interface Board Tester (CO)

Page 10: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 10

LabVIEW as specialist tool

Java GUI

JAPCServer app

Equip. driverFESA

Equipment

CMW wrapper

LV app

CMW

Page 11: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 11

Example in AB: SPS Power Converter View (PO)

Page 12: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 12

LabVIEW as GUI

Java GUI

JAPCServer app

Equip. driverFESA

Equipment

LV GUI

LV2JAPC

Page 13: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 13

Example in AB: Bunch Shape Measurement (OP)

Page 14: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 14

LabVIEW as independent application

Java GUI

JAPCServer app

Equip. driverFESA

Equipment

SDDS

LV app

SDDSlib

Page 15: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 15

Example in AB: Post Mortem Analysis (CO)

Page 16: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 16

Proposed frameworkProposed framework

Page 17: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 17

Covered domains

Machine development

Test facilities

Expert tools

Page 18: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 18

4. Development help Defined GUI Application templates Configuration files Training Documentation

Building blocks

3. Support Information Webpage Mailing list JIRA for issue tracking User support

1. Installation Clear LabVIEW version policy NFS installation for Linux Windows TS installation

2. Control Integration Maintained interface libraries

- CMW- RBAC- SDDS- DB- JAPC

Page 19: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 19

4. Development help Defined GUI Application templates Configuration files Training Documentation

Building blocks

3. Support Information Webpage Mailing list JIRA for issue tracking User support

1. Installation Clear LabVIEW version policy NFS installation for Linux Windows TS installation

2. Control Integration Maintained interface libraries

- CMW- RBAC- SDDS- DB- JAPC

Page 20: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 20

The RADE framework

Training

Support

LabVIEW

Defined GUIApplication templates

Configurationfiles

Documentation

Data Bases SDDSJAPC

libs

Page 21: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 21

RADE internal architecture

Page 22: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 22

RADE implementation example 1

C/C++ shared library

Page 23: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 23

RADE implementation example 2

Java interface

Page 24: R apid  A pplication  D evelopment  E nvironment based on  LabVIEW

GSI CS Workshop '09 Adriaan Rijllart CERN EN-ICE 24

ADE

Questions?Questions?