control system studio training - web opi

5
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS [email protected] Oct. 2012 EPICS Meeting, PAL, Korea Control System Studio Training - Web OPI

Upload: kelly-vargas

Post on 03-Jan-2016

83 views

Category:

Documents


1 download

DESCRIPTION

Control System Studio Training - Web OPI. Kay Kasemir ORNL/SNS [email protected] Oct. 2012 EPICS Meeting, PAL, Korea. Idea. Execute most CSS BOY *. opi files in a web browser Zero install on the client side Works with PCs, Laptops, Tables, Phones and most web browsers - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Control System Studio Training - Web OPI

Managed by UT-Battellefor the Department of Energy

Kay Kasemir

ORNL/SNS

[email protected]

Oct. 2012 EPICS Meeting, PAL, Korea

Control System Studio Training

-Web OPI

Page 2: Control System Studio Training - Web OPI

2 Managed by UT-Battellefor the Department of Energy

Idea

Execute most CSS BOY *.opi files in a web browserZero install on the client sideWorks with PCs, Laptops, Tables, Phones and

most web browsers

– A few widget differences

– Update performance can be lower

– No editing of displays, only runtime

Page 3: Control System Studio Training - Web OPI

3 Managed by UT-Battellefor the Department of Energy

Tomcat Setup

Download WebOPI.war into webapps/

Place *.opi files in a new opi/ directory

Add to conf/catalina.properties:org.csstudio.rap.preference=/path/to/my/css_rap.ini

Page 4: Control System Studio Training - Web OPI

4 Managed by UT-Battellefor the Department of Energy

Example css_rap.ini#EPICS configuration

org.csstudio.platform.libs.epics/auto_addr_list=false

org.csstudio.platform.libs.epics/use_pure_java=true

org.csstudio.platform.libs.epics/addr_list=127.0.0.1 192.168.1.2

org.csstudio.platform.libs.epics/max_array_bytes=160000

#WebOPI configuration

org.csstudio.opibuilder/opi_repository=/path/to/apache-tomcat-7.0.11/opi

org.csstudio.opibuilder/startup_opi=main.opi

org.csstudio.opibuilder/mobile_startup_opi=mobile.opi

org.csstudio.opibuilder/color_file=color.def

org.csstudio.opibuilder/font_file=font.def

org.csstudio.opibuilder/top_opis=main.opi

org.csstudio.opibuilder/opi_gui_refresh_cycle=200

org.csstudio.opibuilder/macros="N","North"|"W","West"|"user","demo"

Page 5: Control System Studio Training - Web OPI

5 Managed by UT-Battellefor the Department of Energy

ExampleURL: http://localhost:8080/webopi/w?opi=heater.opi|user=demo