Changes for page How to read Train IDs at FLASH
Last modified by sndueste on 2024/03/13 14:48
To version 7.1
edited by sndueste
on 2020/01/20 11:14
on 2020/01/20 11:14
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.s endels1 +XWiki.sndueste - Content
-
... ... @@ -1,21 +1,8 @@ 1 1 == 2 - (%class="twikiTocTitle" %)Contents(%%)==2 + == 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"]] 4 +{{toc/}} 14 14 15 -\\ 16 - 17 -\\ 18 - 19 19 == Introduction == 20 20 21 21 At FLASH photons are delivered with a special pulse structure: ... ... @@ -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:FLASHUSER.GasMonitor Detector]]system.16 +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 ... ... @@ -40,7 +40,7 @@ 40 40 41 41 Note: If the central Train ID server crashes it will not resume the ID numbers where it was. In most times it will restart with ID 0, sometimes it is set to some high number by hand. For this reason you will see Train IDs with some high bit not as often as expected. 42 42 43 - \\30 +[[Contents>>doc:||anchor="Contents"]] 44 44 45 45 == Train ID reading with local ID reader (Advanced ID Server) //recommended// == 46 46 ... ... @@ -107,6 +107,8 @@ 107 107 * [[attach:AdvancedIDServer-inline.vi]]: Example how to use the Advanced ID Server with Labview (LV11) 108 108 * [[AdvancedIDServer on github~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://github.com/Finii/AdvancedIDServer||shape="rect"]] 109 109 97 +[[Contents>>doc:||anchor="Contents"]] 98 + 110 110 == Direct reading of Train ID == 111 111 112 112 Receiving the Train ID via ethernet is rather simple. Just open a TCP socket to the one of the servers and read from it. ... ... @@ -147,7 +147,7 @@ 147 147 148 148 The time and date have leading zeros as necessary to ensure a constant field width. The ID number is not zero padded and thus has a varying field width. 149 149 150 - \\139 +[[Contents>>doc:||anchor="Contents"]] 151 151 152 152 == Train ID sender program (TIDS) //obsolete// == 153 153 ... ... @@ -163,7 +163,7 @@ 163 163 164 164 The TIDY: known issues also apply here. 165 165 166 - \\155 +[[Contents>>doc:||anchor="Contents"]] 167 167 168 168 == Train ID Yelling server (TIDY) == 169 169 ... ... @@ -195,7 +195,7 @@ 195 195 * 20.9.18: The .exe always try [[hasfhvctrl.desy.de>>url:http://hasfhvctrl.desy.de||shape="rect"]] first. So start with additional parameter via the commandline. 196 196 [[attach:AdvancedIDServer.exe]] [[hasfcpuexp2.desy.de>>url:http://hasfcpuexp2.desy.de||shape="rect"]] 197 197 198 - \\187 +[[Contents>>doc:||anchor="Contents"]] 199 199 200 200 == Short presentation by Fini == 201 201