/
“Timing  Diagnostic Tools and where to find “Timing  Diagnostic Tools and where to find

“Timing Diagnostic Tools and where to find - PowerPoint Presentation

vestibulephilips
vestibulephilips . @vestibulephilips
Follow
343 views
Uploaded On 2020-08-07

“Timing Diagnostic Tools and where to find - PPT Presentation

them Luca Molinari BECOAPS March 13 2017 Agenda BECOAPS Luca Molinari 1 Introduction TGM Video CTIM Monitoring BcdSet Viewer LL jTimDiag MTG Diagnostic LL ID: 801901

luca aps timing molinari aps luca molinari timing tgm jtimdiag diagnostic mtg video ctim conditions telegrams events viewer event

Share:

Link:

Embed:

Download Presentation from below link

Download The PPT/PDF document "“Timing Diagnostic Tools and where to..." 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

“Timing Diagnostic Tools and where to find them”

Luca Molinari

BE-CO-APS

March 13, 2017

Slide2

Agenda

BE-CO-APS, Luca Molinari

1

Introduction

TGM

Video (

∀)CTIM Monitoring (∀)BcdSet Viewer (LL)jTimDiag (∀)MTG Diagnostic (LL)

∀ = available for all machines

LL = available for LIC and LN4 machines

Slide3

Timing information in the Java world is used by many applications mainly to:Guarantee data coherence

, e.g. various

information

are grouped by timestamps and telegrams. These information

are usually provided by JavaTgm Servers.

Provide information on current and history execution of beams, e.g. details on supercycles

, beam coupling, users and sent telegrams. These information is provided by Tgm RMI Server.Working on a Workstation application based on Java TGMBE-CO-APS, Luca Molinari2

Slide4

All the operating devices are directly controlled by computers (Front End Computers, FEC) which are connected to the General

Machine Timing

network (a

dedicated network).

The instructions and controls for these computers are received on that network from the main timing generator (Central Timing, CT

).There are 2 kinds of frames sent in broadcast on

the Timing Network:Telegrams (Tgm).Events (Timing event frames).OverviewBE-CO-APS, Luca Molinari3

Slide5

Telegrams: A telegram is a particular kind of frame which describes what a specific machine is doing or is going to do at a given time. Telegrams sent during the current BP can concern a given BP or cycle, and they can refer to the present or to a BP/cycle to come

.

Events

: Used

for synchronization purposes and for giving a global temporal alignment to the different machines present in a timing network, they are also called Triggers or Timing Event

frames.Telegrams and Events

BE-CO-APS, Luca Molinari4

Slide6

TGM Video

Slide7

The main tasks of TGM Video is to

:

Check

if telegrams arrive at the

Workstation.Show telegrams details when they arrive.Check if

events arrive. Especially the so-called AcqReady bit (to refresh acquisition in WorkingSets

, Knobs, other apps).What’s new?Check location of the TGM Server to see if it is alive.Record & show history of received telegrams.Display telegrams’ layout.TGM VideoBE-CO-APS, Luca Molinari6

Slide8

TGM Video

BE-CO-APS, Luca Molinari

7

Slide9

TGM Video can be launched from:The Console Manager

/

mcr

/bin/ccm, where it is called TGM Video

(e.g. Cycle -> TGM Video, Timing -> TGM Video…)

The console: /mcr/bin/jvideo and as a parameter pass machine name:

ADE, CPS, LEI, PSB, SPS...Run the jnlp from:http://abwww/ap/dist/accsoft/timing/accsoft-timing-app-tgmvideo/PRO/Connect to Timing Diagnostic Homepagehttp://co-timdiag:8888/ctim/home.htmlHow to start TGM VideoBE-CO-APS, Luca Molinari8

Slide10

TGM Video overview

BE-CO-APS, Luca Molinari

9

Select machine

Slide11

TGM Video overview

BE-CO-APS, Luca Molinari

10

Cycle info

Current User

Supercycle

info

Freeze/Unfreeze telegram reception

Slide12

TGM Video overview

BE-CO-APS, Luca Molinari

11

Slide13

TGM Video overview

BE-CO-APS, Luca Molinari

12

Slide14

TGM Video: Events

BE-CO-APS, Luca Molinari

13

Last received event

Total events received

Slide15

TGM Video: EventsBE-CO-APS, Luca Molinari

14

Slide16

TGM Video: EventsBE-CO-APS, Luca Molinari

15

Slide17

Example of reception issue

BE-CO-APS, Luca Molinari

16

Slide18

TGM Video: Timestamps

BE-CO-APS, Luca Molinari

17

Last received timestamps

Select to register received values in History tab

Slide19

TGM Video: Timestamps

BE-CO-APS, Luca Molinari

18

Slide20

TGM Video: History

BE-CO-APS, Luca Molinari

19

Values are recorded

Slide21

TGM Video: Infos

BE-CO-APS, Luca Molinari

20

Details of last received event

(details for experts).

Slide22

TGM Video: Telegram Layout

BE-CO-APS, Luca Molinari

21

Slide23

TGM Video: Telegram Layout

BE-CO-APS, Luca Molinari

22

Slide24

TGM Video: Telegram Layout

BE-CO-APS, Luca Molinari

23

Slide25

TGM Video

: Telegram Layout

BE-CO-APS, Luca Molinari

24

Slide26

CTIM Monitoring

Slide27

The main tasks of the CTIM Monitoring tool is to give access to timing logs:

telegrams and events delivered by the central timing are

logged

constantly and data are available through this tool.

It shows information similar to TGM Video but the source of data is completely different (logs instead of direct timing distribution).

Useful to investigate application reception issues and answer questions like: my application lost an event, was it sent from the CT?

CTIM MonitoringBE-CO-APS, Luca Molinari26

Slide28

CTIM Monitoring can be launched from:The Console Manager /

mcr

/bin/

ccm, where it is called

GMT logging viewer (e.g. Timing -> GMT logging viewer)Run the

jnlp from: http://abwww/ap/dist/accsoft/timing/accsoft-timing-app-gmtlog/PRO/

Connect to Timing Diagnostic Homepagehttp://co-timdiag:8888/ctim/home.htmlHow to start CTIM MonitoringBE-CO-APS, Luca Molinari27

Slide29

CTIM Monitoring:

Overview

BE-CO-APS, Luca Molinari

28

Application launched with SPS perspective

Slide30

CTIM Monitoring: Telegrams

BE-CO-APS, Luca Molinari

29

Obtains the details about the last

SPS logged

telegram.

The details are refreshed every time a new telegram is logged.

Slide31

CTIM Monitoring: Telegrams

BE-CO-APS, Luca Molinari

30

Telegram details.

Slide32

CTIM Monitoring: Telegrams

BE-CO-APS, Luca Molinari

31

Type to filter by Group Name.

Slide33

CTIM Monitoring:

Events

BE-CO-APS, Luca Molinari

32

Obtains the details about the last

SPS logged

event.The details are refreshed every time a new event logged.

Slide34

CTIM Monitoring:

Events

BE-CO-APS, Luca Molinari

33

Events details.

Slide35

CTIM Monitoring: Events

BE-CO-APS, Luca Molinari

34

Type to filter by Event Name.

Slide36

CTIM Monitoring:

Telegram History

BE-CO-APS, Luca Molinari

35

Open date selection

Slide37

CTIM Monitoring: Events

BE-CO-APS, Luca Molinari

36

Events details.

Slide38

CTIM Monitoring:

Events

BE-CO-APS, Luca Molinari

37

Slide39

BcdSet Viewer

Slide40

The main tasks of the BCDSet Viewer is to:Give

access to data provided by the

Tgm RMI

Server.

Information on current and

passed execution of beams (normal and spare).Details on

supercycles and beam coupling.Users and sent telegrams.BCDSet ViewerBE-CO-APS, Luca Molinari39

Slide41

BCD Set Viewer can be launched from:The Console Manager /

mcr

/bin/

ccm, where it is called BCD Set Viewer

(e.g. Cycle -> BCD Set Viewer…)Run the

jnlp from: http://abwww/ap/dist/accsoft/timing/accsoft-timing-app-bcdsetviewer/PRO

/Connect to Timing Diagnostic Homepagehttp://co-timdiag:8888/ctim/home.htmlHow to start BCDSet ViewerBE-CO-APS, Luca Molinari40

Slide42

BCDSet Viewer: Overview

BE-CO-APS, Luca Molinari

41

Loaded BCDs

Played BCD

Slide43

BCDSet Viewer: Overview

BE-CO-APS, Luca Molinari

42

BCD info

Overview of selected BCD

Slide44

BCDSet Viewer: Overview

BE-CO-APS, Luca Molinari

43

Last played supercycle

Normal Beam

Spare Beam

Slide45

BCDSet

Viewer: Overview

BE-CO-APS, Luca Molinari

44

Investigating PSB machine

Only PSB-related cycles are highlighted

Mouse over to display cycle&beam info + beam coupling with other machines

Slide46

BCDSet

Viewer: Overview

BE-CO-APS, Luca Molinari

45

Changing machine

Slide47

BCDSet Viewer: Machine perspective

BE-CO-APS, Luca Molinari

46

PSB view

CPS view

Slide48

BCDSet

Viewer:

Beam coupling

BE-CO-APS, Luca Molinari

47

Beam coupling

Slide49

BCDSet

Viewer: Overview

BE-CO-APS, Luca Molinari

48

Inspect other BCDs

Reinitialize timing reception

Slide50

jTimDiag

Slide51

The main tasks of the jTimDiag is to:Display local timings'

(

LTIM

) configurations

.Graphically show connections and

or-ing settings between different LTIM devices.Follow acquisition

information cycle by cycle during history recording phase.Generate a history summary page of CTIM events, basic period telegrams, and LTIMs’ firing.jTimDiagBE-CO-APS, Luca Molinari50

Slide52

jTimDiag can be launched from:The Console Manager

/

mcr

/bin/ccm, where it is called

Timing Diagnostic V2 (e.g. General -> Timing Diagnostic V2 ).

Run the jnlp from: http://abwww.cern.ch/ap/dist/accsoft/timing/accsoft-timing-app-timdiag-v2/PRO/JTimDiagV2.jnlp

From FecNavigator http://co-timdiag:8891/fecnav/How to start jTimDiagBE-CO-APS, Luca Molinari51

Slide53

All WorkingSets after selecting one or more LTIM

divices

.

How to start

jTimDiag

BE-CO-APS, Luca Molinari

52

Slide54

jTimDiag: Selection

BE-CO-APS, Luca Molinari

53

Slide55

jTimDiag: Selection

BE-CO-APS, Luca Molinari

54

Slide56

jTimDiag: Selection

BE-CO-APS, Luca Molinari

55

Slide57

jTimDiag: Selection

BE-CO-APS, Luca Molinari

56

Right click to

open menu

Slide58

Add inputAdd outputAdd All inputsAdd All outputs

Add Network

jTimDiag

:

Adding Devices

BE-CO-APS, Luca Molinari

57LTIMLTIMLTIMLTIMLTIM

LTIM

LTIM

LTIM

LTIM

Slide59

jTimDiag

: Selection

BE-CO-APS, Luca Molinari

58

Draw the layout of selected devices

Slide60

jTimDiag: Layout

BE-CO-APS, Luca Molinari

59

Opened Layouts

Reopen selection pane

Slide61

jTimDiag: Layout

BE-CO-APS, Luca Molinari

60

Slide62

jTimDiag: Layout

BE-CO-APS, Luca Molinari

61

Selecting a device

from the Device list

from the layout

Will display its details and link to CCDB

Slide63

jTimDiag: CCDB Link

BE-CO-APS, Luca Molinari

62

Slide64

jTimDiag: Layout

BE-CO-APS, Luca Molinari

63

In order to avoid line crossing and device overlapping, devices can be repeated in the schema.

When one of these devices (OR-gate or LTIM) is selected, all its instances will be highlighted.

Inputs to different occurrences have to be considered

as OR-ed.

Slide65

jTimDiag: Start Acquisition

BE-CO-APS, Luca Molinari

64

Acquisition Tab

Start the acquisition process

Slide66

jTimDiag

:

Loading and Buffering

BE-CO-APS, Luca Molinari

65

Slide67

jTimDiag: Running Acquisition

BE-CO-APS, Luca Molinari

66

Load Event

Front End Computer

Clock

Output Enabled/Disabled

Output

Control Value

Slide68

jTimDiag: Acquisition

BE-CO-APS, Luca Molinari

67

Freeze acquisition when you have recorded what you need

Slide69

jTimDiag: History Navigation

BE-CO-APS, Luca Molinari

68

Proceed back/forward through the recorded period using the slider and arrows.

Slide70

Acquisition: History Navigation

BE-CO-APS, Luca Molinari

69

Generate a table with all recorded events

Slide71

jTimDiag: History Tab

BE-CO-APS, Luca Molinari

70

Cycle or Basic Period begin

CTIM event (Central Timing)

LTIM event (Local Timing)

Slide72

jTimDiag: History Tab, Buffering

BE-CO-APS, Luca Molinari

71

Event type

Timestamp

Event-related Cycle Timestamp

Event Info

Acquisition value

Slide73

jTimDiag: History Tab

BE-CO-APS, Luca Molinari

72

Slide74

jTimDiag: Measuring time intervals

BE-CO-APS, Luca Molinari

73

Slide75

jTimDiag: Measuring time intervals

BE-CO-APS, Luca Molinari

74

Time difference in ns

Slide76

jTimDiag: Measuring time intervals

BE-CO-APS, Luca Molinari

75

Distance between two BP is of course 1.2 s

Export table as .csv file

Slide77

jTimDiag: Adding CTIM

BE-CO-APS, Luca Molinari

76

Add other CTIMs

By default only involved CTIM are added

(Load or Start event)

Slide78

jTimDiag: Adding CTIM

BE-CO-APS, Luca Molinari

77

Filter by Timing Domain

Select a set of devices and confirm

Slide79

MTG Diagnostic

Slide80

LIC Central Timing is responsible for sending telegrams to LIC machines containing a list of hardware settings relatives to what will be played in the next cycle.This information, sent

through

telegrams, it’s

calculated by the

Central Timing logic based on different inputs:Desired BCD

to be played (containing Normal and Spare beams).External conditions (Hardware and Software).

MTG DiagnosticBE-CO-APS, Luca Molinari79

Slide81

When a beam is not played it is useful to understand which were the conditions that prevented its execution. Here it comes the MTG Diagnostic Java application:

On startup a

copy

of the status of the

external conditions status is created in order to simulate the same conditions of the operational system.From the UI it is then possible to change the input and see how the simulation is affected.

Important: No change will be applied to the operational environment. All the settings will be evaluated only in the simulation.

MTG DiagnosticBE-CO-APS, Luca Molinari80

Slide82

MTG Diagnostic

BE-CO-APS, Luca Molinari

81

MTG

Diag

UI

LIC CTSimulatedLIC CT

Telegrams + beam info

Ext. conditions

Update

Startup

Slide83

MTG Diagnostic can be launched from:

The Console Manager

/

mcr/bin/ccm

, where it is called TGM Video (e.g. Timing -> MtgDiag from the SPSOP view)

Run the jnlp from: http://abwww/ap/dist/accsoft/timing/accsoft-timing-app-mtgdiag/PRO

/How to start MTG DiagnosticBE-CO-APS, Luca Molinari82

Slide84

MTG Diagnostic

Overview

BE-CO-APS, Luca Molinari

83

Only LIC’s involved machine are displayed (no LEI).

Last received telegram

Animated played cycle

In this case we are displaying PSB perspective.

Slide85

MTG Diagnostic Telegrams

BE-CO-APS, Luca Molinari

84

Click to hide a group

Slide86

MTG Diagnostic TelegramsBE-CO-APS, Luca Molinari

85

Click to hide a group

Slide87

MTG Diagnostic

Groups Filtering

BE-CO-APS, Luca Molinari

86

Add hidden group

Filter visible groups

Slide88

MTG Diagnostic Groups Filtering

BE-CO-APS, Luca Molinari

87

Slide89

MTG Diagnostic Stepping

BE-CO-APS, Luca Molinari

88

Last played basic period

Freeze simulation

Proceed step by step

Change simulation speedReset external conditions’ value.

The played cycle is shaded

(spear cycle in this case)

Slide90

MTG Diagnostic

History Control

BE-CO-APS, Luca Molinari

89

Select a cycle

The telegram view is frozen

Navigate history

Slide91

MTG Diagnostic

Bad Conditions

Tab

BE-CO-APS, Luca Molinari

90

Select a beam that is not executed

Conditions that prevent the beam from being played

Slide92

MTG Diagnostic Bad Conditions Tab

BE-CO-APS, Luca Molinari

91

It is possible to change the status of the condition and see how/if the simulation changes

Slide93

MTG Diagnostic Bad Conditions Tab

BE-CO-APS, Luca Molinari

92

The simulation will be repeated step by step using the new conditions: now the normal beam is executed.

Slide94

MTG Diagnostic Bad Conditions Tab

BE-CO-APS, Luca Molinari

93

The bad conditions tab is now empty

Slide95

MTG Diagnostic

Used Conditions

Tab

BE-CO-APS, Luca Molinari

94

All selected beam related conditions can be found in the used conditions tab.

Slide96

MTG Diagnostic

Ext. Conditions

BE-CO-APS, Luca Molinari

95

From the Ext. Conditions tab is it possible to have a global view of the conditions of the given machine.

Slide97

MTG Diagnostic Ext. Conditions

BE-CO-APS, Luca Molinari

96

And modify their status

Slide98

MTG Diagnostic

Current Hardware Settings

BE-CO-APS, Luca Molinari

97

From the current hardware settings it is possible to see the loaded BCDs and right-clicking, their details.

Slide99

MTG Diagnostic

Viewer

BE-CO-APS, Luca Molinari

98

Slide100

Questions?