Changes for page How to read Train IDs at FLASH
Last modified by sndueste on 2024/03/13 14:48
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,20 @@ 1 -(% class="twikiTocTitle" %)Content 1 +== 2 +(% class="twikiTocTitle" %)Contents(%%) == 2 2 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"]] 3 3 15 +\\ 4 4 5 - {{toc/}}17 +\\ 6 6 7 7 == Introduction == 8 8 ... ... @@ -14,7 +14,7 @@ 14 14 15 15 Each //pulse train// is identified by an **//Train ID//** (synonyms: **//bunch ID, timestamp//**). 16 16 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. 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. 18 18 19 19 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: 20 20 ... ... @@ -21,9 +21,7 @@ 21 21 * 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 ... 22 22 * direct reading of the ID via TCP socket 23 23 24 -[[image:attach:aids_principle.png||height="400"]] 25 - 26 - 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]] 27 27 Basic pinciple of Train ID distribution at Flash1 with TIDS and AIDS 28 28 29 29 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. ... ... @@ -38,9 +38,9 @@ 38 38 39 39 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. 40 40 41 -[[image: attach:AIDS_running.png||height="189"]]51 +[[~[~[image:url:http://hasfweb.desy.de/pub/Setup/TrainID/AIDS_running.png~|~|alt="Advanced ID Server running"~]~]>>attach:AIDS_running.png]] 42 42 43 - \\53 +* Short presentation by Fini 44 44 45 45 Here it is running on Windows, but of course you can also use it on your Linux machine (build it from the source). 46 46 ... ... @@ -151,10 +151,8 @@ 151 151 152 152 Do not enable "fast shutter eventIDs" if you want to use the Advanced ID Server. 153 153 154 -[[image: attach:Clipboard02.png||height="400"]]164 +[[~[~[image:url:http://hasfweb.desy.de/pub/Setup/TrainID/Clipboard02.png~|~|alt="Clipboard02.png" width="470" height="420"~]~]>>attach:Clipboard02.png]] 155 155 156 -\\ 157 - 158 158 The TIDY: known issues also apply here. 159 159 160 160 [[Contents>>doc:||anchor="Contents"]]