/
Channel Finder Channel Finder

Channel Finder - PowerPoint Presentation

briana-ranney
briana-ranney . @briana-ranney
Follow
493 views
Uploaded On 2016-04-18

Channel Finder - PPT Presentation

Kunal Shroff Ralph Lange pvManager Graphene IOC CA client JCACAJ CSS Core Olog Integration Olog DataBrowser BOY IOC IOC pvA client IOC v3 v4 Publishsubscribe ID: 283648

channels update properties channel update channels channel properties hostname iocname ioc aphla dbl asd time channelfinder client service physics

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Channel Finder" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Channel Finder

Kunal Shroff

Ralph LangeSlide2

pvManager

Graphene

IOC

CA client (JCA/CAJ)

CSS Core

Olog

Integration

Olog

DataBrowser

BOY

IOC

IOC

pvA

client

IOC

v3

v4

Publish/subscribe

Command/response

v4

Masar

...

pvA

Sim

Test

API

Logbook

Web UI and other clients

CA

Core Client Technologies

Data Sources

Aggregation

Visualization

vTypes

Data Definition

BEAST

Log Viewer

AccelUtils

Web based REST services

CS-Studio

ChannelFinder

API

Java/Python

Cf

-update

Scripts and utilities

ChannelFinder

Integration

…Slide3

Need for cf

-update

How to add new channels

Without having to learn the client api’sHow to manage existing channels

Orphaned channels Moved channels Automatically handle some attributes/properties of channels hostName

iocNameSlide4

cf-update v2.0.0

The properties currently managed with

cf- update–  hostName

–  iocName –  pvStatus : Active or InActive –  time : The last time the above properties where updated Slide5

Example st.cmd

iocInit

dbl

> record.dbl

system “cp records.dbl /cf-update/$HOSTNAME.$IOCNAME.dbl”Slide6

Under the Hood

The

cf_monitor daemon monitors $(

CF_UPDATE_DIR) directory and envokes an updare task

whenA new *.dbl file is created in the dir An existing *.dbl file is modified

The update task handles Uses the filename to obtain the hostName, iocName property values and defines time as the time when the file was modifiedNew channels –

creates new channels with hostName, iocName properties Orphaned channels – the

hostName, iocName properties are retained for debugging purpose but the pvStatus is set to inactiveMoved channels – ensures that the hostName,

iocName properties are update when channels are moved Unchanged channels All other existing properties and tags are left unaffected Slide7

Controls Properties

Name

Description

Owner

priSys

primary system

controlspriSysInst

primary system instantcontrols

cellthe cell name for the controled device, e.g. C01, C30

secSys

girder

the girder name, e.g. G1, G2, G6

devType

devName

ctrlDevices

hostName

The name of the machine hosting the IOC to which this channel belongs

cf-updateiocName

The name of the IOC to which this channel belongscf-update

pvStatusThe status depends on whether or not the channel has a IOC assocaited with it

cf-updatetime

The last time the dbl file associated with this pv was readcf-updateSlide8

Physics Properties

Name

Description

Owner

elemType

the physics element type: QUAD, SEXT, BPM, HCOR, VCORcf-asd (aphla)

elemNamethe element name in latticecf-asd (aphla)

elemHandlea read or set type of PV, values are: get/set

cf-asd (aphla)elemPositionthe position in lattice, could be end/begin/middle position.

cf-asd (aphla)elemLength

the length in lattice.cf-asd (aphla)

elemIndexthe index in latticecf-asd (

aphla)Slide9

Physics applications

The

High level applications tend to prefer a hierarchical view of the control system where they can group channels by type (such as BPM, horizontal corrector) or location

accelerator physics high level application APHLA (python)

ChannelViewerChannel line plotWaterfall plotChannel OrchestratorSlide10

ChannelViewerSlide11

Channel Line PlotSlide12

Channel OrchestratorSlide13

Channel OrchestratorSlide14

ChannelFinder

Service

ChannelFinder is now a

pvmanager serviceSlide15

ChannelFinder in BOYSlide16

ChannelFinder

in BOYSlide17

Service ButtonSlide18

Channel Finder service buttonSlide19

Auto-completeSlide20

Future plans

Manage additional properties and tags automatically

Integration with

NameService/NameValidatorReplace channel widgets with general purpose widgets using pvmanager

services and formulaIntegration with MASAR