Target release
Task List

Key Summary Created Updated Due Assignee Status Resolution
Loading...
Refresh

Document status
DRAFT
Document owner
Designer
DevelopersGiovanni Franzini 
Project

https://baltig.infn.it/chaos-lnf-control/dafne-feedback/-/tree/master

Accesso al PC client del feedback bunch by bunch (BBB) di DAFNE.

IP
192.168.188.11

Username
iGp

Password
feedbbb1

Installazioni

E' necessario installare: Putty, Xming e Xming Fonts.

https://sourceforge.net/projects/xming/

https://sourceforge.net/projects/xming/files/Xming-fonts/

Per configurare correttamente Putty con Xming: dal menu SSH --> X11 bisogna spuntare "Enable X11 forwarding" (questa spunta è associata al profilo che in quel momento è caricato in Putty).


Collegarsi

Avviare Xming.

Avviare Putty e collegarsi al pc client con l'IP (vedi sopra).

Una volta dentro, usando i seguenti comandi, si può accedere ai pannelli di controllo dei vari cassetti DIMTEL del feedback di DAFNE ed operare su di essi.

Cassetto DIMTEL

Comando

IP

Long. FB Elettroni

iGp_display LFBEle &

192.168.188.18

Long. FB Positroni

iGp_display LFBPos &

192.168.188.12

Trasv. Hor FB Positroni

iGp_display HorPos &

192.168.188.13

Trasv. Ver FB Positroni

iGp_display VerPos &

192.168.188.16

Trasv. Hor FB Elettroni

iGp_display HorEle &

192.168.188.14

Trasv. Ver FB Elettroni

iGp_display VerEle &

192.168.188.17

Trasv. Hor n.2 Positroni

iGp_display HorPo1 &

192.168.188.20

Environment

Variables
export EPICS_CA_ADDR_LIST="192.168.188.12 192.168.188.13 192.168.188.14 192.168.188.15 192.168.188.16 192.168.188.17 192.168.188.18 192.168.188.20"
export EPICS_CA_AUTO_ADDR_LIST=NO


Variables
caget IGPF:HorEle:SRAM:PEAKTUNE1
caget IGPF:VerEle:SRAM:PEAKTUNE1
caget IGPF:HorPos:SRAM:PEAKTUNE1
caget IGPF:VerPos:SRAM:PEAKTUNE1


A list of PVs:

Epics Archiver & Grafana dashboard

The feedback PVs  to be archived must be added in this page:

EPICS Feedback archiver

To add and visualize a PV simply add the PV name on the main page.


PV of interest

Nella seguente lista, sono stati usati come esempi HorEle e LFBEle. Per ottenere i dati per gli altri feedback sostituire questi nomi con gli altri (VerPos, HorPos, ecc).

Alcuni comandi valgono per tutti i feedback (all), altri solo per trasversi o longitudinali.


General (all)

IGPF:HorEle:FBCTRL

IGPF:HorEle:SHIFTGAIN

IGPF:HorEle:PROC_DS


Filter Coefficients (all)

IGPF:HorEle:SETSEL

IGPF:HorEle:CSET0

IGPF:HorEle:CSET1


Timing (all)

IGPF:HorEle:TADC

IGPF:HorEle:TDAC

IGPF:HorEle:DELAY


Acquisition Settings (VerEle, HorEle, VerPos, HorPos)

IGPF:HorEle:SRAM:REC_DS

IGPF:HorEle:SRAM:ACQTIME

IGPF:HorEle:SRAM:SP:AVG

IGPF:HorEle:SRAM:SP_LOW1

IGPF:HorEle:SRAM:SP_HIGH1


Acquisition Data (VerEle, HorEle, VerPos, HorPos)

IGPF:HorEle:SRAM:MEAN [120 elem]

IGPF:HorEle:SRAM:RMS [120]

IGPF:HorEle:SRAM:MAXRMS [104857 elem]

IGPF:HorEle:SRAM:SPEC [52429 elem]


Raw Data (VerEle, HorEle, VerPos, HorPos)

IGPF:HorEle:SRAM:RAW:SAMPLES [3678720]

IGPF:HorEle:SRAM:RAW

Nota: il primo comando (samples) restituisce il numero di campioni a disposizione (un numero). Il secondo comando restituisce il valore dei campioni a disposizione (un array). Si deve quindi richiedere con caget prima il numero di campioni a disposizione (:SAMPLES) e poi usare questo valore per richiedere con un altro caget un array di campioni (:RAW).

The PV is set in 'passive mode', the status of the PV can be checked by:


caget IGPF:HorEle:SRAM:RAW.SCAN
IGPF:HorEle:SRAM:RAW.SCAN      Passive

In this mode the acquisition can progress just if a set on the 'PROC' subvariable is performed:


caput IGPF:HorEle:SRAM:RAW.PROC 1

Even the Epics Archiver does not update if the acquisition is not updated.



Front-End (LFBEle,LFBPos)

IGPF:LFBEle:PHASE_SERVO:SETPT

IGPF:LFBEle:FE_ATTEN


Acquisition Settings (LFBEle,LFBPos)

IGPF:LFBEle:REC_DS

IGPF:LFBEle:RECLEN

IGPF:LFBEle:SP:AVG

IGPF:LFBEle:SP_LOW1

IGPF:LFBEle:SP_HIGH1


Acquisition Data(LFBEle,LFBPos)

IGPF:LFBEle:MEAN 120 elem

IGPF:LFBEle:RMS 120 elem

IGPF:LFBEle:MAXRMS [69905 elem]

IGPF:LFBEle:SPEC [34953 elem]


Raw Data (LFBEle,LFBPos)

Per ottenere i raw data dei longitudinali si deve usare una procedura specifica.




Grafana test page

https://dashboard.lnf.infn.it/prod/grafana/d/iWclm7XVz/test-epics-archiver-feedback


Import data into matlab

https://slacmshankar.github.io/epicsarchiver_docs/matlab.html




!CHAOS & Grafana dashboard

CU: DAFNE/FEEDBACK/MONITOR

US: EPICS_FEEDBACK

Agent: cagent-chaos-cu04.chaos.lnf.infn.it

!CHAOS Dashboard


Dafne Tunes

Dafne Tunes

Feedback Tunes


EDM docker

To use EDM docker to control feedback follow  the following instructions:

Example of use
git clone https://baltig.infn.it/lnf-da-control/docker-edm.git
git clone https://baltig.infn.it/lnf-da-control/dafne-feedback.git
cd dafne-feedback/
cp config/epics_addr_list dl_8/
cd dl_8 
../../docker-edm/edm.sh -cmap -x -noedit -m "sys=IGPF,dev=LFBEle" main.edl

or
docker run -it baltig.infn.it:4567/lnf-da-control/dcs-control-console/feedback:latest

Varie

File di configurazione trovato sul pc client del feedback. Utile?



{"mode":"list","showLastTime":"true","order":"name","contextEntityId":109151255}

1 Comment

  1. Antonio De Santis

    It is possible to add a description with some details for this:

    IGPF:HorEle:SRAM:MEAN [120 elem]

    IGPF:HorEle:SRAM:RMS [120]

    IGPF:HorEle:SRAM:MAXRMS [104857 elem]

    IGPF:HorEle:SRAM:SPEC [52429 elem]