Last modified by sndueste on 2024/03/13 14:48

From version 4.1
edited by sendels
on 2019/08/19 16:35
Change comment: There is no comment for this version
To version 10.1
edited by sendels
on 2021/02/10 15:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,20 +1,8 @@
1 -==
2 -(% class="twikiTocTitle" %)Contents(%%) ==
1 +(% class="twikiTocTitle" %)Content
3 3  
4 -* [[Introduction>>doc:||anchor="Introduction"]]
5 -* [[Train ID reading with local ID reader (Advanced ID Server) recommended>>doc:||anchor="Train ID reading with local ID reader (Advanced ID Server) recommended"]]
6 -** [[What does Advanced ID Server do?>>doc:||anchor="What does Advanced ID Server do?"]]
7 -** [[Addresses>>doc:||anchor="Addresses"]]
8 -** [[Resources>>doc:||anchor="Resources"]]:
9 -* [[Direct reading of Train ID>>doc:||anchor="Direct reading of Train ID"]]
10 -* [[Train ID sender program (TIDS) obsolete>>doc:||anchor="Train ID sender program (TIDS) obsolete"]]
11 -* [[Train ID Yelling server (TIDY)>>doc:||anchor="Train ID Yelling server (TIDY)"]]
12 -** [[Known Issues>>doc:||anchor="Known Issues"]]
13 -* [[Short presentation by Fini>>doc:||anchor="Short presentation by Fini"]]
14 14  
15 -\\
16 16  
17 -\\
5 +{{toc/}}
18 18  
19 19  == Introduction ==
20 20  
... ... @@ -26,7 +26,7 @@
26 26  
27 27  Each //pulse train// is identified by an **//Train ID//** (synonyms: **//bunch ID, timestamp//**).
28 28  
29 -Recording this Train ID on the user side allows the correlation of data acquired by the user with all the data saved at FLASH in the DOOCS system, especially with the photon intensity data measured by the [[GMD>>doc:FLASH.Gas Monitor Detector]] system.
17 +Recording this Train ID on the user side allows the correlation of data acquired by the user with all the data saved at FLASH in the DOOCS system, especially with the photon intensity data measured by the GMD system.
30 30  
31 31  Within DOOCS the Train ID is a 32-bit number. For the users it is transmitted via a socket connection over ethernet - TCP socket. The ID is set 20 ms before the train starts and stays 80 ms after the train. To read the Train ID by the user there are 2 options provided by FLASH:
32 32  
... ... @@ -33,7 +33,9 @@
33 33  * using a provided program (AdvancedIDServer.exe) running on the user's machine, that synchronizes with the Train ID sender and uses the local clock of the user computer to lower the jitter in reading the ID significantly. The user program connects then locally to the AdvancedIDServer program to get the ID ...
34 34  * direct reading of the ID via TCP socket
35 35  
36 -[[~[~[image:url:http://hasfweb.desy.de/pub/Setup/TrainID/aids_principle.png~|~|alt="aids_principle.png" width="440" height="289"~]~]>>attach:aids_principle.png]]
24 +[[image:attach:aids_principle.png||height="400"]]
25 +
26 +
37 37  Basic pinciple of Train ID distribution at Flash1 with TIDS and AIDS
38 38  
39 39  See also this [[sketch>>attach:timing.png]] of the sequence with miliseconds attached to it, to see when the ID updates relative to the beam.
... ... @@ -48,9 +48,9 @@
48 48  
49 49  It connects to the TCP based TIDY or TIDS server and continuously gets the Ethernet packets with the IDs. These packets are time stamped with microsecond resolution and stored. This runs all the time. Because we have a lot of data we can correlate the local time on that machine (that generated the local time stamps) and the IDs. If the Ethernet connection lags sometimes, chokes, hick ups and messes around with our packets, even drops some... Who cares. By closely monitoring all data we can define a function to calculate the Train ID from the local time on that machine.
50 50  
51 -[[~[~[image:url:http://hasfweb.desy.de/pub/Setup/TrainID/AIDS_running.png~|~|alt="Advanced ID Server running"~]~]>>attach:AIDS_running.png]]
41 +[[image:attach:AIDS_running.png||height="189"]]
52 52  
53 -* Short presentation by Fini
43 +\\
54 54  
55 55  Here it is running on Windows, but of course you can also use it on your Linux machine (build it from the source).
56 56  
... ... @@ -161,8 +161,10 @@
161 161  
162 162  Do not enable "fast shutter eventIDs" if you want to use the Advanced ID Server.
163 163  
164 -[[~[~[image:url:http://hasfweb.desy.de/pub/Setup/TrainID/Clipboard02.png~|~|alt="Clipboard02.png" width="470" height="420"~]~]>>attach:Clipboard02.png]]
154 +[[image:attach:Clipboard02.png||height="400"]]
165 165  
156 +\\
157 +
166 166  The TIDY: known issues also apply here.
167 167  
168 168  [[Contents>>doc:||anchor="Contents"]]