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

From version 12.1
edited by sndueste
on 2024/03/13 14:12
Change comment: There is no comment for this version
To version 11.1
edited by sndueste
on 2021/10/14 10:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -40,18 +40,19 @@
40 40  
41 41  [[image:attach:AIDS_running.png||height="189"]]
42 42  
43 +\\
43 43  
44 44  Here it is running on Windows, but of course you can also use it on your Linux machine (build it from the source).
45 45  
47 +\\
46 46  
47 47  The users can access this server via a socket. Use localhost:58051. Connect your program to that socket and you get immediately the actual Train ID for this very moment. (e.g. in the CMD window with {{code language="none"}}telnet localhost 58051{{/code}} ... note:telnet is usually deactivated in win10 and has to be activated) The packet you get looks like this:
48 48  
49 -{{code language="none"}}
50 -3437004.37997 O 818 853
51 -{{/code}}
51 +{{code language="none"}}3437004.37997 O 818 853{{/code}}
52 52  
53 53  You get a new calculated ID every time you send any data to the server. So normally your program looks like this and should not close and open the socket all the time:
54 54  
55 +\\
55 55  
56 56  * Connect to AdvancedIDServer.
57 57  * Check the state flag and jitter number in the first packet. Ignore the ID.
... ... @@ -62,8 +62,8 @@
62 62  ** save your aquired data with that ID
63 63  * until shift finished or FLASH lost beam
64 64  
65 -{{code language="none"}}3437004.37997 O 818 853{{/code}}
66 -{{code language="none"}}3437005.37997 O 851 889{{/code}}
66 +{{code language="none"}}3437004.37997 O 818 853{{/code}}
67 +{{code language="none"}}3437005.37997 O 851 889{{/code}}
67 67  {{code language="none"}}3437006.35997 O 885 925{{/code}}
68 68  
69 69  About the format: More abstract you get a number, dot, a second number. A character. A third and fourth number.
... ... @@ -88,12 +88,13 @@
88 88  
89 89  [[hasfcpuexp2.desy.de>>url:http://hasfcpuexp2.desy.de||shape="rect"]]{{code language="none"}}AdvancedIDServer.exe :58050{{/code}} //(for Flash1)// or [[flash2cpuxgmd2.desy.de>>url:http://flash2cpuxgmd2.desy.de||shape="rect"]]{{code language="none"}}AdvancedIDServer.exe :58050{{/code}} //(for Flash2)//
90 90  
92 +\\
91 91  
92 92  === Resources: ===
93 93  
94 94  * [[attach:AdvancedIDServer.exe]]
95 95  * [[attach:AdvancedIDServer-inline.vi]]: Example how to use the Advanced ID Server with Labview (LV11)
96 -* [[AdvancedIDServer on github>>url:https://github.com/Finii/AdvancedIDServer||shape="rect"]]
98 +* [[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"]]
97 97  
98 98  [[Contents>>doc:||anchor="Contents"]]
99 99  
... ... @@ -138,6 +138,7 @@
138 138  
139 139  [[Contents>>doc:||anchor="Contents"]]
140 140  
143 +\\
141 141  
142 142  == Train ID Yelling server (TIDY) ==
143 143  
... ... @@ -156,6 +156,7 @@
156 156  * [[hasfcpuexp2.desy.de>>url:http://hasfcpuexp2.desy.de||shape="rect"]]:58050 //(for Flash1)//
157 157  * [[flash2cpuxgmd2.desy.de>>url:http://flash2cpuxgmd2.desy.de||shape="rect"]]:58050 //(for Flash2)//
158 158  
162 +\\
159 159  
160 160  === Known Issues ===
161 161  
... ... @@ -163,6 +163,7 @@
163 163  ** If you can not guaranty that the socket will be closed properly the best solution is to use always the same (client-)port number.
164 164  ** You can also change your system-settings to let the OS handle it (see tcp_keepalive_time).
165 165  
170 +\\
166 166  
167 167  * 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.
168 168  [[attach:AdvancedIDServer.exe]] [[hasfcpuexp2.desy.de>>url:http://hasfcpuexp2.desy.de||shape="rect"]]