Status

EPIK8s BTF


WEB Entry points:

Entry PointsURL/IPDescription
GIT Control SourceFull sources for OPI, IOC and services documentation
ArgoCDhttps://argocd-server-argocd.apps.okd-datest.lnf.infn.it/Dashboard to Monitor, Manage Control System
Console

http://btf-console.apps.okd-datest.lnf.infn.it/

WEB Console Phoebus CSS with Control Interfaces (epics)
Archiver 

http://btf-archiver.apps.okd-datest.lnf.infn.it/mgmt/ui/index.html

Epics Archiver 
JupyterJupyter notebook server, connected with CS (epics)
Grafana


Gateway192.168.36.203

set environment variable EPICS_CA_ADDR_LIST=192.168.36.201 to gateway to access IOC


Download distribution


git clone https://baltig.infn.it/lnf-da-control/epik8s-btf.git --recurse-submodules


Update distribution

cd epiks-btf

git pull --recurse-submodules

EPICS CA Entry Point

Set the environment variable:

EPICS_CA_ADDR_LIST=192.168.36.203


PHOEBUS

For installation look Phoebus

Keep the beamline repository update:


cd epik8s-btf
git pull --recurse-submodules
cd opi ## the OPI directory. Launcher.bob entry point





settings.ini:

org.phoebus.pv.ca/addr_list=192.168.36.203 localhost
org.phoebus.pv.ca/auto_addr_list=false
org.phoebus.pv.pva/epics_pva_addr_list=plbtfcosc001.lnf.infn.it plbtfcosc001.lnf.infn.it:5176 localhost 
org.phoebus.pv.pva/epics_pva_auto_addr_list=false
org.csstudio.trends.databrowser3/urls=pbraw://btf-archiver.apps.okd-datest.lnf.infn.it/retrieval
org.csstudio.trends.databrowser3/archives=pbraw://btf-archiver.apps.okd-datest.lnf.infn.it/retrieval
org.phoebus.applications.saveandrestore.client/jmasar.service.url=http://btf-saveandrestore.apps.okd-datest.lnf.infn.it/save-restore
org.csstudio.scan.client/host=btf-scanserver.apps.okd-datest.lnf.infn.it
org.csstudio.scan.client/port=4810
org.phoebus.olog.es.api/olog_url=http://btf-olog.apps.okd-datest.lnf.infn.it/Olog
org.phoebus.olog.api/olog_url=http://btf-olog.apps.okd-datest.lnf.infn.it/Olog
org.phoebus.logbook/logbook_factory=olog-es
org.phoebus.olog.api/username=epics
org.phoebus.olog.api/password=epics
org.phoebus.olog.es.api/username=epics
org.phoebus.olog.es.api/password=epics
org.phoebus.channelfinder/serviceURL=http://btf-channelfinder.apps.okd-datest.lnf.infn.it/ChannelFinder
org.phoebus.channelfinder/username=admin
org.phoebus.channelfinder/password=adminPass
org.phoebus.channelfinder/rawFiltering=false
# Read timeout (in ms) when taking snapshot
org.phoebus.applications.saveandrestore/sortSnapshotsTimeReversed=false

org.phoebus.applications.saveandrestore/readTimeout=5000

# Limit used in "paginated" search, i.e. the number of search results per page
org.phoebus.applications.saveandrestore/search_result_page_size=30

# Default save-and-restore search query. Used unless a saved query is located.
org.phoebus.applications.saveandrestore/default_search_query=tags=golden

# If declared add a date automatically in the name of the snapshot "Take Snapshot"
#default_snapshot_name_date_format=yyyy-MM-dd HH:mm:ss

org.phoebus.applications.saveandrestore/this.is.a.test=MUSIGNY
org.phoebus.applications.saveandrestore.client/jmasar.service.url=http://btf-saveandrestore.apps.okd-datest.lnf.infn.it/save-restore
org.phoebus.applications.saveandrestore.client.api/username=epics
org.phoebus.applications.saveandrestore.client.api/password=epics
org.csstudio.scan.client/host=http://btf-scanserver.apps.okd-datest.lnf.infn.it
org.csstudio.scan.client/port=
org.phoebus.applications.alarm.logging.ui/service_uri=http://btf-alarmlogger.apps.okd-datest.lnf.infn.it
org.phoebus.applications.alarm.logging.ui/results_max_size=10000
org.phoebus.applications.alarm/server=192.168.36.205:9092
org.phoebus.applications.alarm/config_names=
org.phoebus.applications.alarm/config_name=Accelerator
org.phoebus.applications.alarm/enable_slot_time=false
org.phoebus.applications.alarm/connection_check_secs=0



MATLAB History Entry point

MATLABURL=http://btf-archiver.apps.okd-datest.lnf.infn.it/retrieval/data/getData.mat


urlwrite(<MATLABURL>, ...
	'temp.mat', 'get', ...
	{'pv', 'VPIO:IN20:111:VRAW', 'from', '2012-09-27T08:00:00.000Z', 'to', '2012-09-28T08:00:00.000Z'})

dat = load('temp.mat')
delete('temp.mat')

try
    header = dat.header;
    data = dat.data;
catch
    fprintf('Could not get data from file\n');
    return
end

header
data


Useful Links

EPIK8S  EPIK8S

IOC Development Workflow

OPI Development Workflow

IBEK for Integration and Standardization existing developments

Presentazione EPIK8s Rete EPICS

AREA DETECTOR (Camere)

GIT Workflow GIT Versioning