Jira for issues tracking:

If you have an issue during OpcUaLarLtdbServer (peripheral) operations please:

  1. Create a sub task on ATLLARONL-435 ticket
  2. Assigne Etienne FORTIN


All command are made for a bash shell

Change firmware on felix

please contact experts ( Etienne FORTIN or Daniele LAUGIER )

2020/09/08 for pc-lar-felix-ltdb-00 / 01 / 03

  • firmware is FLX712 LTDB RM4.9 12-6-2020 at 10h39

  • driver:4.5.0

FLX-712/production setup

More... Close

Tips to know which server has to be launch

to check which server need to be launch: command "status" ==> create this alias status='/det/dcs/Development/ATLAS_DCS_LAR/bin/tools/misc/status.sh'
!! this is just an information about running server and return pid / log file path
But no information if the communication between servers is ok ==> check log file wink

Launch felixcore

Logs are in /data/logs/felixcore If you need to relaunch felixcore after a crash just do :

# For pc-lar-felix-ltdb-05 for example
cd /det/dcs/Development/ATLAS_DCS_LAR/bin/Felix


Known issue : Sticky LOL register =0x02 => TTC error, no BCR

Launch OpcUaScaServer OpcUaLArLtdb Server

Logs are in /data/logs/OpcUa(LarLtdb |Sca)Server.

If you need to start OpcUaScaServer :

#On pc-lar-felix-ltdb-0X
cd /det/dcs/Development/ATLAS_DCS_LAR/bin/OpcUaScaServer-1.5.0-rc1
Check the log file: the name of the log file is an output of the start.sh script , if ko, try again

If you need to start OpcUaLarLtdbServer :

#On pc-lar-felix-ltdb-0X
cd /det/dcs/Development/ATLAS_DCS_LAR/bin/OpcUaLarLtdbServer
Check the log file: the name of the log file is an output of the start.sh script, if ko, try again

log ok = tail "logFile"


To stop them :

sudo kill -9 ID(OPC) # with ID(OPC) the pid of the server

Use WinCCOAProject

BEFORE RUN we have to check that all scas are online and if not restart opcuasca
Use WinCCOAProject With Remina:

open Remote Desktop on the cerntsatldcs(cerntsatldcs.cern.ch) and make the next 5 steps. (for example remmina as remote desktop)


With direct mode :

ssh -X lxplus

ssh -X atlasgw

and connect to pcatllar05

source /det/dcs/linuxScripts/set_env_316.sh

WCCOAui -proj ATLLARLTDB -p main.pnl

startConsole => for expert

How to see which FEC (Front End Crate) are ON:



Which felix server is connected to which quadran :


Quadran listes: from wendy setup

pc-lar-felix-xx EMB (ElectroMagnetic Barrel) EMEC (ElectroMagnetic End Cap)
00 A Q1 => I01L to I05R A Q1 => A01 to A04F0
01 A Q2 => I05L to I09R A Q2 => A04F1 to A07
02 A Q3 => I09L to I13R A Q3 => A08 to A10
03 A Q4 => I013L to I01R A Q4 => A11 to A13
04 C Q1 => H01R to H05L C Q1 => C01 to C04F1
05 C Q2 => H05R to H09L C Q2 => C04F0 to C07
06 C Q3 => H09R to H13L C Q3 => C08 to C10
07 C Q4 => H013R to H01L C Q4 => C11 to C13

How to use the LAr GUI:

First LAr LTDB controle screen:


Zone 2: Servers status

a) Check that the OpcUaScaServers are green; At least for the partition you want (check in chapter Quadrants list, just before)...
b) Check LarLtdb field are 1 At least for the partition you want else it should be launched

Red or orange= there is an issue
Green = ok
Black= unknown status

zone 4: log windows
Zone 1:RunControl menu

Select your Partition: EMEC A, EMEC C, BARRELA, BARRELC. In this picture, Barrel A is selected and the zone is ligth on the detector pictogram
You can select all partitions in the same time

You can controle the LTDB with a Finite State Machine with the following states
Transitions that have been performed are in grey
Every thing is ok if no red messages / no red zone.
The state of the LTDB you are looking should be coherent with the global state: a reminder at the top of the panel.

b)Links status: Button to check links with Latomes: only when system is configured ==> read the latomes registers...

c)Copy states: Copy the full state into the clipboard to paste it into elogs or mails to experts

Zone3: Views of the LTDB states on the wheel

Color convention on the panel


RED FLASHING: there is something wrong ===> put the mousse on the LTDB square, a message appears with the error


Status of two LTDB in one crate, Green is good, Red is Bad.
- You can click on it to have the crate details panels. (for troubleshooting)
- put the mousse on it, wait and a message appears giving the errors status ColorContext.jpg

if There is juste the error "state = partition state" ==> click on the LTDB and performs the transitions you need to put it on the good state

GLOBAL STATE: Indicate the global state and the time of the last transition

Be careful: when transition is running, don't care the state of the panel....status could be red during this step....


1) You need to select felix servers you will use in "MODE EXPERT" ENABLE/ DISABLE => after choosing the felix servers: go back previous screen and Power OFF and power ON to start the set up with all felix servers in the same time

2) Scan LOCx2 if Crate powerCycle

Zone Expert:

-adding felix servers (ENABLE/DISABLE)
-LOCx2 Scan

HOW TO FOCUS on a specific LTDB and see Monitoring:

Clicking on the LTDB zone, you can have a look to differents parametres that are monitored: for the moment sca temperatures

Attention: After doing "CONFIG", it's better to click on the "Links Status" to update it.

* LTDB control panel (Reminder: Only if the LDTB zone is not Blue, in that case, you can see only monitoring):


* monitoring LTDB panel:

Errors messages:

1) Follows instructions in the message: For example go back to the OFF state that means do transitions UNCONFIG and SHUTDOWN in this windows and after returns to the current Global state (here CONFIGURED) doing INIT and CONFIG in this windows

Attention: if Link status BAD, and no message in the log, and OpcUaSca is on ===> LATOMES are off!!

2) the status of the LTDB is RED= After CONFIGURE, "Links Status " is BAD => Expert can do a scan of the LOCx2 (Expert mode )

3) the log window: Liste of error code and recovery mesure: OpcUaLarLtdbServerTroubleshooter

How to perform a scan GBTx (Experts only)

When you did a power cycle, you MUST do a CLKDES scan===> Expert Mode in the Control panel



How to perform a scan Locx2 (Experts only)

When you did a power cycle, you MUST do a scan of the Locx2===> Expert Mode in the Control panel
1- Start the scan with the "scan Locx2" button
- Wait until the array is full
- you are happy with green and red zones repartion Or you detect an error....
-If error, you need to fixe it befor continuing (Experts)

2- "=>" compute the best delay for each fiber and display them the thin array to the right of the arrow
3- "Select all actives fibres", 1 is displayed for all actives fibers in the thin array and data are ready to be sent to the server

4- Update the server with those value with the "Update Server" button


WinCCOA project use ( same for all setups )

Try all LTDB


Some Ltdbs are not online

Please see the EMF Twiki LtdbConfigurationEmfPeripheral

-- EtienneMarieFortin - 2019-06-17

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng BarrelCPanel.PNG r2 r1 manage 116.5 K 2021-01-21 - 13:58 DanieleLaugier  
JPEGjpg ColorCode.jpg r1 manage 5.9 K 2021-03-12 - 14:54 DanieleLaugier  
JPEGjpg ColorContext.jpg r1 manage 5.5 K 2021-03-12 - 15:05 DanieleLaugier  
JPEGjpg ColorOrangeRouge.jpg r1 manage 1.6 K 2021-03-12 - 15:00 DanieleLaugier  
JPEGjpg ColorRougeVert.jpg r1 manage 1.7 K 2021-03-12 - 15:00 DanieleLaugier  
JPEGjpg ColorVertVert.jpg r1 manage 1.7 K 2021-03-12 - 15:00 DanieleLaugier  
PNGpng Config1Ltdb.png r1 manage 70.2 K 2020-03-13 - 10:00 EtienneMarieFortin  
PNGpng ConfigParrallel.png r1 manage 69.7 K 2020-03-13 - 10:00 EtienneMarieFortin  
JPEGjpg ControlPanel.jpg r1 manage 75.4 K 2021-01-21 - 15:04 DanieleLaugier  
JPEGjpg Erreur1.jpg r1 manage 38.8 K 2021-01-21 - 15:04 DanieleLaugier  
JPEGjpg Erreur2.jpg r1 manage 39.1 K 2021-01-21 - 15:04 DanieleLaugier  
PNGpng ErrorScaServer.png r1 manage 1.2 K 2021-01-25 - 13:33 DanieleLaugier  
PNGpng FSM.png r1 manage 14.6 K 2021-01-21 - 14:35 DanieleLaugier  
PNGpng LTDB-Green.PNG r1 manage 2.9 K 2021-01-21 - 11:30 DanieleLaugier  
PNGpng LTDB-GreenBlue.PNG r1 manage 3.1 K 2021-01-21 - 11:30 DanieleLaugier  
PNGpng LTDB-Grey.PNG r1 manage 3.4 K 2021-01-21 - 11:30 DanieleLaugier  
PNGpng LTDB-Red.PNG r1 manage 3.5 K 2021-01-21 - 11:30 DanieleLaugier  
PNGpng LTDB-ligthGreen.PNG r1 manage 2.7 K 2021-01-21 - 11:30 DanieleLaugier  
PNGpng LTDB-status.PNG r1 manage 78.1 K 2021-03-11 - 13:51 DanieleLaugier  
PNGpng LTDB-statusMsg1.png r1 manage 3.0 K 2021-01-22 - 08:28 DanieleLaugier  
PNGpng LTDB-ststusErrorMsgAll.png r1 manage 17.1 K 2021-01-22 - 08:29 DanieleLaugier  
PNGpng LTDB-yellow.PNG r1 manage 3.3 K 2021-01-21 - 11:30 DanieleLaugier  
PNGpng LTDBState.PNG r1 manage 148.4 K 2021-01-21 - 11:38 DanieleLaugier  
PNGpng LTTDB-RedLigth.PNG r1 manage 3.1 K 2021-01-21 - 11:30 DanieleLaugier  
PNGpng MainPanel.PNG r1 manage 139.5 K 2021-03-11 - 13:54 DanieleLaugier  
PNGpng MainPanel2.PNG r1 manage 139.5 K 2021-03-11 - 13:56 DanieleLaugier  
JPEGjpg MainPanel3.PNG.jpg r1 manage 180.8 K 2021-03-11 - 14:03 DanieleLaugier  
PNGpng OutPutLogFile.png r1 manage 19.0 K 2021-01-25 - 13:01 DanieleLaugier  
PNGpng Pale-yellow.png r1 manage 1.3 K 2021-01-25 - 13:38 DanieleLaugier  
PDFpdf RC_FORMATION_14_APRIL_21.pdf r1 manage 1844.2 K 2021-04-14 - 15:27 DanieleLaugier  
PNGpng ScanLocx2.PNG r3 r2 r1 manage 80.8 K 2021-01-22 - 11:28 DanieleLaugier  
PNGpng WTC.png r1 manage 293.8 K 2020-05-06 - 08:49 EtienneMarieFortin  
PNGpng monitoring.PNG r1 manage 162.7 K 2021-01-21 - 11:38 DanieleLaugier  
PNGpng transition-1.png r1 manage 26.9 K 2021-01-22 - 09:35 DanieleLaugier  
PNGpng yellow.png r1 manage 1.3 K 2021-01-25 - 13:38 DanieleLaugier  
Edit | Attach | Watch | Print version | History: r58 < r57 < r56 < r55 < r54 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r58 - 2021-04-16 - EtienneMarieFortin
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback