unknown 1 päivä sitten
vanhempi
commit
45532cddeb
110 muutettua tiedostoa jossa 4606 lisäystä ja 29 poistoa
  1. BIN
      pico-tcp-service/pico-tcp/bin/Debug/pico-tcp.exe
  2. 2 2
      pico-tcp-service/pico-tcp/main.cpp
  3. BIN
      pico-tcp-service/pico-tcp/obj/Debug/main.o
  4. 1 1
      pico-tcp-service/pico-tcp/pico-tcp.depend
  5. 7 2
      pico-tcp-service/pico-tcp/pico-tcp.layout
  6. 2 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-134734.txt
  7. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-134809.txt
  8. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140129.txt
  9. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140152.txt
  10. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140451.txt
  11. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140512.txt
  12. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140615.txt
  13. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140645.txt
  14. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140951.txt
  15. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141010.txt
  16. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141037.txt
  17. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141142.txt
  18. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141309.txt
  19. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141317.txt
  20. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141514.txt
  21. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141521.txt
  22. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141630.txt
  23. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141651.txt
  24. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142342.txt
  25. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142400.txt
  26. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142459.txt
  27. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142616.txt
  28. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142622.txt
  29. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-143302.txt
  30. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150415.txt
  31. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150433.txt
  32. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150540.txt
  33. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150547.txt
  34. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150903.txt
  35. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150916.txt
  36. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-151706.txt
  37. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-151735.txt
  38. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-151824.txt
  39. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-151831.txt
  40. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-152559.txt
  41. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-152614.txt
  42. 3 0
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-153735.txt
  43. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-153754.txt
  44. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-154122.txt
  45. BIN
      pico-tcp-service/pico-tcp/picologs/pico-log-20250807-154730.txt
  46. 18 12
      spectrometer_service/SpectometerDecodeLib.py
  47. 0 0
      spectrometer_service/fid_test.json
  48. 0 0
      spectrometer_service/json_add.json
  49. BIN
      spectrometer_service/mserv00/bin/pico-tcp.exe
  50. 3 0
      spectrometer_service/mserv00/bin/picologs/pico-log-20250807-171834.txt
  51. BIN
      spectrometer_service/mserv00/bin/picologs/pico-log-20250807-171848.txt
  52. BIN
      spectrometer_service/mserv00/db.sqlite3
  53. BIN
      spectrometer_service/mserv00/mserv00/__pycache__/__init__.cpython-313.pyc
  54. BIN
      spectrometer_service/mserv00/mserv00/__pycache__/settings.cpython-313.pyc
  55. BIN
      spectrometer_service/mserv00/mserv00/__pycache__/urls.cpython-313.pyc
  56. BIN
      spectrometer_service/mserv00/mserv00/__pycache__/wsgi.cpython-313.pyc
  57. BIN
      spectrometer_service/mserv00/spectrometer/__pycache__/__init__.cpython-313.pyc
  58. BIN
      spectrometer_service/mserv00/spectrometer/__pycache__/admin.cpython-313.pyc
  59. BIN
      spectrometer_service/mserv00/spectrometer/__pycache__/apps.cpython-313.pyc
  60. BIN
      spectrometer_service/mserv00/spectrometer/__pycache__/engine.cpython-313.pyc
  61. BIN
      spectrometer_service/mserv00/spectrometer/__pycache__/interfaces.cpython-313.pyc
  62. BIN
      spectrometer_service/mserv00/spectrometer/__pycache__/models.cpython-313.pyc
  63. BIN
      spectrometer_service/mserv00/spectrometer/__pycache__/serializers.cpython-313.pyc
  64. BIN
      spectrometer_service/mserv00/spectrometer/__pycache__/urls.cpython-313.pyc
  65. BIN
      spectrometer_service/mserv00/spectrometer/__pycache__/views.cpython-313.pyc
  66. 1 1
      spectrometer_service/mserv00/spectrometer/engine.py
  67. 16 10
      spectrometer_service/mserv00/spectrometer/interfaces.py
  68. BIN
      spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0001_initial.cpython-313.pyc
  69. BIN
      spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0002_measurement_data_channel_data.cpython-313.pyc
  70. BIN
      spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0003_remove_channel_data_measurement_data.cpython-313.pyc
  71. BIN
      spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0004_state_engine.cpython-313.pyc
  72. BIN
      spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0005_remove_state_engine_measurement_info_engine.cpython-313.pyc
  73. BIN
      spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0006_channel_data_measurement_data_and_more.cpython-313.pyc
  74. BIN
      spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0007_adc_params_averaging_measurement_data_averaging_num.cpython-313.pyc
  75. BIN
      spectrometer_service/mserv00/spectrometer/migrations/__pycache__/__init__.cpython-313.pyc
  76. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-140508.log
  77. 119 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-140633.log
  78. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-140642.log
  79. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-141006.log
  80. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-141139.log
  81. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-141314.log
  82. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-141518.log
  83. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-141611.log
  84. 132 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-141646.log
  85. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-141937.log
  86. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-142030.log
  87. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-142133.log
  88. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-142240.log
  89. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-142259.log
  90. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-142357.log
  91. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-142455.log
  92. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-142600.log
  93. 132 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-142617.log
  94. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-143258.log
  95. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-150430.log
  96. 132 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-150524.log
  97. 132 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-150543.log
  98. 132 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-150912.log
  99. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-151732.log
  100. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-151828.log
  101. 132 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-152610.log
  102. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-153751.log
  103. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-154119.log
  104. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-154501.log
  105. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-154603.log
  106. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-154646.log
  107. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-154727.log
  108. 133 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-171813.log
  109. 132 0
      spectrometer_service/mserv00/synclogs/sync-log-20250807-171844.log
  110. 1 1
      spectrometer_service/mserv00/temp

BIN
pico-tcp-service/pico-tcp/bin/Debug/pico-tcp.exe


+ 2 - 2
pico-tcp-service/pico-tcp/main.cpp

@@ -1918,7 +1918,7 @@ public:
         }
         logger << LogPref::Flag(INFO) << "Confirmation code sended" << endl;
         int bytes_recieved = SocketActive->Receive(MAX_PACKET, rcbuf);
-        if(rcbuf[1] == 0x3B)
+        if(rcbuf[1] == 0xCB)
         {
             logger << LogPref::Flag(INFO) << "Data confirmed" << endl;
         }
@@ -2016,7 +2016,7 @@ int main()
         logger << LogPref::Flag(ERROR) << "Socket initialization failed" << endl;
         return -1;
     }
-    if(!SocketPassive.Listen("127.0.0.1", 5003))
+    if(!SocketPassive.Listen("localhost", 5003))
     {
         logger << LogPref::Flag(ERROR) << "Socket listening failed" << endl;
         return -1;

BIN
pico-tcp-service/pico-tcp/obj/Debug/main.o


+ 1 - 1
pico-tcp-service/pico-tcp/pico-tcp.depend

@@ -714,7 +714,7 @@
 1750168676 source:c:\lf_mri\spectrometer_service\mserv00\pico-tcp\src\simplesocket.cpp
 	"SimpleSocket.h"
 
-1753265642 source:c:\lf_mri\spectrometer_service\mserv00\pico-tcp\main.cpp
+1754564771 source:c:\lf_mri\spectrometer_service\mserv00\pico-tcp\main.cpp
 	<iostream>
 	<memory>
 	<windows.h>

+ 7 - 2
pico-tcp-service/pico-tcp/pico-tcp.layout

@@ -2,9 +2,14 @@
 <CodeBlocks_layout_file>
 	<FileVersion major="1" minor="0" />
 	<ActiveTarget name="Debug" />
-	<File name="main.cpp" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
+	<File name="main.cpp" open="1" top="1" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
 		<Cursor>
-			<Cursor1 position="36595" topLine="1546" />
+			<Cursor1 position="82557" topLine="1881" />
+		</Cursor>
+	</File>
+	<File name="picofunctions.cpp" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
+		<Cursor>
+			<Cursor1 position="0" topLine="138" />
 		</Cursor>
 	</File>
 </CodeBlocks_layout_file>

+ 2 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-134734.txt

@@ -0,0 +1,2 @@
+[2025-08-07 13:47:34:151] / [INFO]	Open socket
+[2025-08-07 13:47:34:151] / [ERROR]	Socket listening failed

+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-134809.txt

@@ -0,0 +1,3 @@
+[2025-08-07 13:48:09:974] / [INFO]	Open socket
+[2025-08-07 13:48:09:974] / [INFO]	Socket initialized!
+[2025-08-07 13:48:09:974] / [INFO]	Wait for connection...

+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140129.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:01:29:257] / [INFO]	Open socket
+[2025-08-07 14:01:29:257] / [INFO]	Socket initialized!
+[2025-08-07 14:01:29:258] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140152.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140451.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:04:51:155] / [INFO]	Open socket
+[2025-08-07 14:04:51:155] / [INFO]	Socket initialized!
+[2025-08-07 14:04:51:155] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140512.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140615.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:06:15:297] / [INFO]	Open socket
+[2025-08-07 14:06:15:298] / [INFO]	Socket initialized!
+[2025-08-07 14:06:15:298] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140645.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-140951.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:09:51:415] / [INFO]	Open socket
+[2025-08-07 14:09:51:415] / [INFO]	Socket initialized!
+[2025-08-07 14:09:51:415] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141010.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141037.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:10:37:808] / [INFO]	Open socket
+[2025-08-07 14:10:37:809] / [INFO]	Socket initialized!
+[2025-08-07 14:10:37:809] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141142.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141309.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:13:09:860] / [INFO]	Open socket
+[2025-08-07 14:13:09:861] / [INFO]	Socket initialized!
+[2025-08-07 14:13:09:861] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141317.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141514.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:15:14:642] / [INFO]	Open socket
+[2025-08-07 14:15:14:642] / [INFO]	Socket initialized!
+[2025-08-07 14:15:14:642] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141521.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141630.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:16:30:388] / [INFO]	Open socket
+[2025-08-07 14:16:30:388] / [INFO]	Socket initialized!
+[2025-08-07 14:16:30:388] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-141651.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142342.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:23:42:132] / [INFO]	Open socket
+[2025-08-07 14:23:42:132] / [INFO]	Socket initialized!
+[2025-08-07 14:23:42:132] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142400.txt


BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142459.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142616.txt

@@ -0,0 +1,3 @@
+[2025-08-07 14:26:16:145] / [INFO]	Open socket
+[2025-08-07 14:26:16:145] / [INFO]	Socket initialized!
+[2025-08-07 14:26:16:145] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-142622.txt


BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-143302.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150415.txt

@@ -0,0 +1,3 @@
+[2025-08-07 15:04:15:862] / [INFO]	Open socket
+[2025-08-07 15:04:15:862] / [INFO]	Socket initialized!
+[2025-08-07 15:04:15:862] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150433.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150540.txt

@@ -0,0 +1,3 @@
+[2025-08-07 15:05:40:556] / [INFO]	Open socket
+[2025-08-07 15:05:40:556] / [INFO]	Socket initialized!
+[2025-08-07 15:05:40:556] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150547.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150903.txt

@@ -0,0 +1,3 @@
+[2025-08-07 15:09:03:193] / [INFO]	Open socket
+[2025-08-07 15:09:03:193] / [INFO]	Socket initialized!
+[2025-08-07 15:09:03:193] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-150916.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-151706.txt

@@ -0,0 +1,3 @@
+[2025-08-07 15:17:06:442] / [INFO]	Open socket
+[2025-08-07 15:17:06:442] / [INFO]	Socket initialized!
+[2025-08-07 15:17:06:442] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-151735.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-151824.txt

@@ -0,0 +1,3 @@
+[2025-08-07 15:18:24:257] / [INFO]	Open socket
+[2025-08-07 15:18:24:257] / [INFO]	Socket initialized!
+[2025-08-07 15:18:24:257] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-151831.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-152559.txt

@@ -0,0 +1,3 @@
+[2025-08-07 15:25:59:40] / [INFO]	Open socket
+[2025-08-07 15:25:59:40] / [INFO]	Socket initialized!
+[2025-08-07 15:25:59:40] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-152614.txt


+ 3 - 0
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-153735.txt

@@ -0,0 +1,3 @@
+[2025-08-07 15:37:35:558] / [INFO]	Open socket
+[2025-08-07 15:37:35:558] / [INFO]	Socket initialized!
+[2025-08-07 15:37:35:558] / [INFO]	Wait for connection...

BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-153754.txt


BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-154122.txt


BIN
pico-tcp-service/pico-tcp/picologs/pico-log-20250807-154730.txt


+ 18 - 12
spectrometer_service/SpectometerDecodeLib.py

@@ -34,12 +34,12 @@ class DataDecoder:
             if(items['averaging_num'] == averaging_num and items['data_num'] == data_num):
                 return items['measurement_rate']
 
-    def getDataSpectrum(self, averaging_num=0, data_num=0, channel_num=0, points=10, range=5.0, zero_fill=0):
+    def getDataSpectrum(self, averaging_num=0, data_num=0, channel_num=0, points=10, range=5.0, zero_fill=0, first_idx=0, last_idx=10):
         scaledData = self.getDataScaled(averaging_num, data_num, channel_num, points, range)
-        zerofilledData = np.append(scaledData, np.zeros(zero_fill))
+        zerofilledData = np.append(scaledData[first_idx:last_idx], np.zeros(zero_fill))
         rate = self.getDataRate()
-        transferedData = fft.rfft(zerofilledData) * 2 / points
-        freqs = fft.rfftfreq(points+zero_fill, 1/rate)
+        transferedData = fft.rfft(zerofilledData) * 2 / (last_idx-first_idx)
+        freqs = fft.rfftfreq((last_idx-first_idx)+zero_fill, 1/rate)
         spectrum = np.abs(transferedData)
         phases = np.angle(transferedData)
         spect_dict = {'freqs': freqs,
@@ -47,13 +47,13 @@ class DataDecoder:
                      'spectrum': spectrum}
         return spect_dict
         
-    def getDataPoints(self, averaging_num=0, data_num=0, channel_num=0):
+    def getDataPoints(self, averaging_num=0, data_num=0):
         for items in self.structed_data:
             if(items['averaging_num'] == averaging_num and items['data_num'] == data_num):
-                return items['measurement_points'][channel_num]
+                return items['measurement_points']
 
 
-#dec = DataDecoder('saved_new.json')
+#dec = DataDecoder('fid_test.json')
 
 #print('getRawData(0, 0, 1):')
 #print(dec.getRawData(0, 0, 1)) # ::getRawData(averagingIndex, dataTriggerIndex, channelIndex)
@@ -64,12 +64,18 @@ class DataDecoder:
 #print(a[0:100]) # ::getDataDecoded(averagingIndex, dataTriggerIndex, channelIndex, count)
 #print('\n')
 
-#print('getDataScaled(0, 1, 1, 100, 5.0):')
-#a = dec.getDataScaled(0, 1, 1, 100, 5.0)
-#print(a[0:100])
+#print('getDataScaled(0, 1, 1, 100, 0.1):')
+#a = dec.getDataDecoded(0, 0, 1, 80000)
+#rate = dec.getDataRate(0, 0)
+#print(a[500:1000])
+#t = np.arange(0, 80000 / rate, 1 / rate)
+#plt.plot(t, a)
+#plt.show()
 #print('\n')
 
 #print('getDataSpectrum(0, 1, 1, max_points, 5.0, max_points):')
-#points = dec.getDataPoints(0, 1, 1)
-#spect_dict = dec.getDataSpectrum(0, 1, 1, points, 5.0, 10000)
+#points = dec.getDataPoints(0, 0)
+#spect_dict = dec.getDataSpectrum(0, 0, 1, points[0], 0.1, 0, 5000, 19600)
+#plt.plot(spect_dict['freqs'], spect_dict['spectrum'])
+#plt.show()
 #print('\n')

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
spectrometer_service/fid_test.json


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
spectrometer_service/json_add.json


BIN
spectrometer_service/mserv00/bin/pico-tcp.exe


+ 3 - 0
spectrometer_service/mserv00/bin/picologs/pico-log-20250807-171834.txt

@@ -0,0 +1,3 @@
+[2025-08-07 17:18:34:659] / [INFO]	Open socket
+[2025-08-07 17:18:34:660] / [INFO]	Socket initialized!
+[2025-08-07 17:18:34:660] / [INFO]	Wait for connection...

BIN
spectrometer_service/mserv00/bin/picologs/pico-log-20250807-171848.txt


BIN
spectrometer_service/mserv00/db.sqlite3


BIN
spectrometer_service/mserv00/mserv00/__pycache__/__init__.cpython-313.pyc


BIN
spectrometer_service/mserv00/mserv00/__pycache__/settings.cpython-313.pyc


BIN
spectrometer_service/mserv00/mserv00/__pycache__/urls.cpython-313.pyc


BIN
spectrometer_service/mserv00/mserv00/__pycache__/wsgi.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/__pycache__/__init__.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/__pycache__/admin.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/__pycache__/apps.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/__pycache__/engine.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/__pycache__/interfaces.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/__pycache__/models.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/__pycache__/serializers.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/__pycache__/urls.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/__pycache__/views.cpython-313.pyc


+ 1 - 1
spectrometer_service/mserv00/spectrometer/engine.py

@@ -388,7 +388,7 @@ class DefaultEngine:
                 t = NewThread(target=self.adc_interface.start)
                 t.start()
 
-                #time.sleep(3)
+                tm.sleep(1)
 
                 ret = self.sdr_interface.transf(str(settings.BASE_DIR) + '\\bin\\hackrftrans00.exe',
                                         self.measure.info.isdr.file,

+ 16 - 10
spectrometer_service/mserv00/spectrometer/interfaces.py

@@ -3,6 +3,7 @@ import struct
 import subprocess
 import numpy as np
 import serial
+import time as tm
 
 probe = {
         '10mV': np.int8(0),
@@ -41,7 +42,7 @@ class adc_default:
 
     def connect(self, port=0):
         self.client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
-        self.client_socket.settimeout(5.0)
+        self.client_socket.settimeout(10.0)
         resp = self.client_socket.connect(('127.0.0.1', self.port))
         return resp
 
@@ -108,20 +109,25 @@ class adc_default:
         print('start')
         msg = struct.pack('<BB', 0xAA, self.proto['start'])
         self.client_socket.send(msg)
+        resp = b'\x00\x00'
         resp = self.client_socket.recv(4096)
-        while((resp[1] != 0xFB) and (resp[1] != 0xFF)):
-            print(f"Data confirmed with code {resp[1]}")
-            msg = struct.pack('<BB', 0xAA, 0x3A)
-            self.client_socket.send(msg)
-            resp = self.client_socket.recv(4096)
-        msg = struct.pack('<BB', 0xAA, 0x3B)
-        self.client_socket.send(msg)
-
-        resp = self.client_socket.recv(4096)
+        if(resp[1] == 0xFB):
+            try:
+                print(f"Data confirmed with code {resp[1]}")
+                msg = struct.pack('<BB', 0xAA, 0xCB)
+                self.client_socket.send(msg)
+            except TimeoutError as e:
+                print("Timeout!")
+                resp = b'\x00\x00'
+        else:
+            print('error')
+            return (self.resp_handler(resp, self.proto['start']), self.ndata)
+        
         nsignal = 0
         nchannel = 0
         last_signal = 0
         last_channel = 0
+        resp = self.client_socket.recv(4096)
         while(resp[1] != 0xFC):
             if(resp[1] == 0xFF):
                 self.measure_code = self.resp_handler(resp, self.proto['start'])

BIN
spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0001_initial.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0002_measurement_data_channel_data.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0003_remove_channel_data_measurement_data.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0004_state_engine.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0005_remove_state_engine_measurement_info_engine.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0006_channel_data_measurement_data_and_more.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/migrations/__pycache__/0007_adc_params_averaging_measurement_data_averaging_num.cpython-313.pyc


BIN
spectrometer_service/mserv00/spectrometer/migrations/__pycache__/__init__.cpython-313.pyc


+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-140508.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:05:08:974] / [INFO]	Start...
+[2025-08-07 14:05:08:974] / [INFO]	File: C:\LF_MRI\test_21_02_25\Sync_param_test_21_02_2025.xml
+[2025-08-07 14:05:08:974] / [INFO]	Try to load file...
+[2025-08-07 14:05:08:974] / [OK]	External XML structure is OK
+[2025-08-07 14:05:08:974] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:05:08:974] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:05:08:974] / [DONE]	File loaded successfully
+[2025-08-07 14:05:08:975] / [INFO]	Creating synchronization program...
+[2025-08-07 14:05:08:975] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:05:08:975] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:05:08:976] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:05:08:978] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:05:08:980] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:05:08:981] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:05:08:983] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:05:08:985] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:05:08:986] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:05:08:987] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:05:08:990] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:05:08:990] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:05:08:992] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:05:08:992] / [DONE]	Events added
+[2025-08-07 14:05:08:994] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:05:08:996] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:05:08:997] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:05:09:5] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+00001388
+02000002
+000002BC
+02000002
+00001388
+02000000
+000061A8
+00030000
+[2025-08-07 14:05:09:12] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:05:09:13] / [INFO]	file fd = 1
+[2025-08-07 14:05:09:21] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:05:09:22] / [INFO]	Creating Serial object
+[2025-08-07 14:05:09:23] / [INFO]	Connecting to Serial object
+[2025-08-07 14:05:09:26] / [INFO]	Checking connection
+[2025-08-07 14:05:09:28] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:05:09:139] / [INFO]	S serial.available = 22
+[2025-08-07 14:05:09:142] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:05:09:147] / [INFO]	Q serial.available = 23
+[2025-08-07 14:05:09:148] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:05:12:186] / [UNDEF]	D serial.readString = 182 90 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:05:12:186] / [OK]	DONE!

+ 119 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-140633.log

@@ -0,0 +1,119 @@
+[2025-08-07 14:06:33:221] / [INFO]	Start...
+[2025-08-07 14:06:33:221] / [INFO]	File: C:\LF_MRI\test_21_02_25\Sync_param_test_21_02_2025.xml
+[2025-08-07 14:06:33:221] / [INFO]	Try to load file...
+[2025-08-07 14:06:33:221] / [OK]	External XML structure is OK
+[2025-08-07 14:06:33:221] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:06:33:222] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:06:33:222] / [DONE]	File loaded successfully
+[2025-08-07 14:06:33:222] / [INFO]	Creating synchronization program...
+[2025-08-07 14:06:33:222] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:06:33:222] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:06:33:224] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:06:33:225] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:33:228] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:06:33:229] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:06:33:230] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:33:232] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:06:33:234] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:06:33:236] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:33:238] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:06:33:239] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:06:33:240] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:33:241] / [DONE]	Events added
+[2025-08-07 14:06:33:242] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:33:244] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:33:245] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:06:33:253] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+00001388
+02000002
+000002BC
+02000002
+00001388
+02000000
+000061A8
+00030000
+[2025-08-07 14:06:33:258] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:06:33:259] / [INFO]	file fd = 1
+[2025-08-07 14:06:33:267] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:06:33:268] / [INFO]	Creating Serial object
+[2025-08-07 14:06:33:269] / [INFO]	Connecting to Serial object
+[2025-08-07 14:06:33:271] / [INFO]	Checking connection
+[2025-08-07 14:06:33:272] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:06:33:380] / [INFO]	S serial.available = 22
+[2025-08-07 14:06:33:384] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:06:33:388] / [INFO]	Q serial.available = 23
+[2025-08-07 14:06:33:390] / [INFO]	Q serial.readString = Due pulse programmer v1

+

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-140642.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:06:42:348] / [INFO]	Start...
+[2025-08-07 14:06:42:348] / [INFO]	File: C:\LF_MRI\test_21_02_25\Sync_param_test_21_02_2025.xml
+[2025-08-07 14:06:42:349] / [INFO]	Try to load file...
+[2025-08-07 14:06:42:349] / [OK]	External XML structure is OK
+[2025-08-07 14:06:42:349] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:06:42:349] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:06:42:350] / [DONE]	File loaded successfully
+[2025-08-07 14:06:42:350] / [INFO]	Creating synchronization program...
+[2025-08-07 14:06:42:350] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:06:42:351] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:06:42:352] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:06:42:353] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:42:355] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:06:42:356] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:06:42:357] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:42:361] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:06:42:362] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:06:42:363] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:42:366] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:06:42:367] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:06:42:369] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:42:369] / [DONE]	Events added
+[2025-08-07 14:06:42:371] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:42:372] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:06:42:373] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:06:42:381] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+00001388
+02000002
+000002BC
+02000002
+00001388
+02000000
+000061A8
+00030000
+[2025-08-07 14:06:42:387] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:06:42:387] / [INFO]	file fd = 1
+[2025-08-07 14:06:42:397] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:06:42:399] / [INFO]	Creating Serial object
+[2025-08-07 14:06:42:400] / [INFO]	Connecting to Serial object
+[2025-08-07 14:06:42:402] / [INFO]	Checking connection
+[2025-08-07 14:06:42:403] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:06:42:520] / [INFO]	S serial.available = 16
+[2025-08-07 14:06:42:521] / [INFO]	S serial.readString = Status stopped

+
+[2025-08-07 14:06:42:522] / [INFO]	Q serial.available = 0
+[2025-08-07 14:06:42:523] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:06:45:572] / [UNDEF]	D serial.readString = 182 90 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:06:45:572] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-141006.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:10:06:870] / [INFO]	Start...
+[2025-08-07 14:10:06:870] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:10:06:871] / [INFO]	Try to load file...
+[2025-08-07 14:10:06:877] / [OK]	External XML structure is OK
+[2025-08-07 14:10:06:877] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:10:06:877] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:10:06:878] / [DONE]	File loaded successfully
+[2025-08-07 14:10:06:878] / [INFO]	Creating synchronization program...
+[2025-08-07 14:10:06:878] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:10:06:879] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:10:06:879] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:10:06:881] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:10:06:883] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:10:06:884] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:10:06:886] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:10:06:889] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:10:06:890] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:10:06:891] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:10:06:894] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:10:06:895] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:10:06:896] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:10:06:897] / [DONE]	Events added
+[2025-08-07 14:10:06:899] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:10:06:900] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:10:06:903] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:10:06:911] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:10:06:919] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:10:06:919] / [INFO]	file fd = 1
+[2025-08-07 14:10:06:927] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:10:06:928] / [INFO]	Creating Serial object
+[2025-08-07 14:10:06:929] / [INFO]	Connecting to Serial object
+[2025-08-07 14:10:06:932] / [INFO]	Checking connection
+[2025-08-07 14:10:06:933] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:10:07:41] / [INFO]	S serial.available = 22
+[2025-08-07 14:10:07:42] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:10:07:44] / [INFO]	Q serial.available = 0
+[2025-08-07 14:10:07:45] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:10:10:79] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:10:10:79] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-141139.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:11:39:547] / [INFO]	Start...
+[2025-08-07 14:11:39:547] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:11:39:548] / [INFO]	Try to load file...
+[2025-08-07 14:11:39:548] / [OK]	External XML structure is OK
+[2025-08-07 14:11:39:548] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:11:39:548] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:11:39:548] / [DONE]	File loaded successfully
+[2025-08-07 14:11:39:549] / [INFO]	Creating synchronization program...
+[2025-08-07 14:11:39:549] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:11:39:549] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:11:39:550] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:11:39:551] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:11:39:554] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:11:39:555] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:11:39:557] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:11:39:560] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:11:39:561] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:11:39:562] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:11:39:566] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:11:39:567] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:11:39:569] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:11:39:570] / [DONE]	Events added
+[2025-08-07 14:11:39:571] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:11:39:573] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:11:39:574] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:11:39:584] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:11:39:591] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:11:39:591] / [INFO]	file fd = 1
+[2025-08-07 14:11:39:599] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:11:39:600] / [INFO]	Creating Serial object
+[2025-08-07 14:11:39:601] / [INFO]	Connecting to Serial object
+[2025-08-07 14:11:39:603] / [INFO]	Checking connection
+[2025-08-07 14:11:39:604] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:11:39:719] / [INFO]	S serial.available = 22
+[2025-08-07 14:11:39:720] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:11:39:722] / [INFO]	Q serial.available = 23
+[2025-08-07 14:11:39:723] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:11:42:755] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:11:42:756] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-141314.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:13:14:342] / [INFO]	Start...
+[2025-08-07 14:13:14:342] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:13:14:342] / [INFO]	Try to load file...
+[2025-08-07 14:13:14:343] / [OK]	External XML structure is OK
+[2025-08-07 14:13:14:343] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:13:14:343] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:13:14:343] / [DONE]	File loaded successfully
+[2025-08-07 14:13:14:343] / [INFO]	Creating synchronization program...
+[2025-08-07 14:13:14:344] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:13:14:344] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:13:14:345] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:13:14:346] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:13:14:348] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:13:14:349] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:13:14:351] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:13:14:355] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:13:14:356] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:13:14:358] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:13:14:360] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:13:14:361] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:13:14:363] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:13:14:364] / [DONE]	Events added
+[2025-08-07 14:13:14:365] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:13:14:366] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:13:14:367] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:13:14:380] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:13:14:386] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:13:14:387] / [INFO]	file fd = 1
+[2025-08-07 14:13:14:394] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:13:14:395] / [INFO]	Creating Serial object
+[2025-08-07 14:13:14:396] / [INFO]	Connecting to Serial object
+[2025-08-07 14:13:14:398] / [INFO]	Checking connection
+[2025-08-07 14:13:14:399] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:13:14:511] / [INFO]	S serial.available = 22
+[2025-08-07 14:13:14:512] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:13:14:514] / [INFO]	Q serial.available = 0
+[2025-08-07 14:13:14:515] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:13:17:557] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:13:17:557] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-141518.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:15:18:651] / [INFO]	Start...
+[2025-08-07 14:15:18:651] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:15:18:651] / [INFO]	Try to load file...
+[2025-08-07 14:15:18:652] / [OK]	External XML structure is OK
+[2025-08-07 14:15:18:652] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:15:18:652] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:15:18:652] / [DONE]	File loaded successfully
+[2025-08-07 14:15:18:652] / [INFO]	Creating synchronization program...
+[2025-08-07 14:15:18:653] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:15:18:653] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:15:18:654] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:15:18:655] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:15:18:658] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:15:18:659] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:15:18:660] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:15:18:663] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:15:18:665] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:15:18:667] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:15:18:669] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:15:18:670] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:15:18:672] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:15:18:673] / [DONE]	Events added
+[2025-08-07 14:15:18:674] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:15:18:676] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:15:18:678] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:15:18:687] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:15:18:694] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:15:18:695] / [INFO]	file fd = 1
+[2025-08-07 14:15:18:703] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:15:18:704] / [INFO]	Creating Serial object
+[2025-08-07 14:15:18:705] / [INFO]	Connecting to Serial object
+[2025-08-07 14:15:18:707] / [INFO]	Checking connection
+[2025-08-07 14:15:18:708] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:15:18:819] / [INFO]	S serial.available = 22
+[2025-08-07 14:15:18:822] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:15:18:826] / [INFO]	Q serial.available = 23
+[2025-08-07 14:15:18:828] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:15:21:868] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:15:21:868] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-141611.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:16:11:391] / [INFO]	Start...
+[2025-08-07 14:16:11:391] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:16:11:391] / [INFO]	Try to load file...
+[2025-08-07 14:16:11:391] / [OK]	External XML structure is OK
+[2025-08-07 14:16:11:391] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:16:11:392] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:16:11:392] / [DONE]	File loaded successfully
+[2025-08-07 14:16:11:392] / [INFO]	Creating synchronization program...
+[2025-08-07 14:16:11:392] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:16:11:392] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:16:11:393] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:16:11:395] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:11:398] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:16:11:399] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:16:11:400] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:11:403] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:16:11:404] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:16:11:406] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:11:408] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:16:11:409] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:16:11:411] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:11:413] / [DONE]	Events added
+[2025-08-07 14:16:11:415] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:11:416] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:11:417] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:16:11:425] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:16:11:431] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:16:11:431] / [INFO]	file fd = 1
+[2025-08-07 14:16:11:439] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:16:11:440] / [INFO]	Creating Serial object
+[2025-08-07 14:16:11:441] / [INFO]	Connecting to Serial object
+[2025-08-07 14:16:11:443] / [INFO]	Checking connection
+[2025-08-07 14:16:11:444] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:16:11:567] / [INFO]	S serial.available = 22
+[2025-08-07 14:16:11:571] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:16:11:575] / [INFO]	Q serial.available = 23
+[2025-08-07 14:16:11:577] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:16:14:619] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:16:14:620] / [OK]	DONE!

+ 132 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-141646.log

@@ -0,0 +1,132 @@
+[2025-08-07 14:16:46:810] / [INFO]	Start...
+[2025-08-07 14:16:46:810] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:16:46:810] / [INFO]	Try to load file...
+[2025-08-07 14:16:46:811] / [OK]	External XML structure is OK
+[2025-08-07 14:16:46:811] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:16:46:812] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:16:46:812] / [DONE]	File loaded successfully
+[2025-08-07 14:16:46:812] / [INFO]	Creating synchronization program...
+[2025-08-07 14:16:46:812] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:16:46:813] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:16:46:815] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:16:46:816] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:46:818] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:16:46:820] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:16:46:821] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:46:825] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:16:46:826] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:16:46:827] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:46:830] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:16:46:831] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:16:46:832] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:46:834] / [DONE]	Events added
+[2025-08-07 14:16:46:836] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:46:838] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:16:46:839] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:16:46:847] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:16:46:856] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:16:46:857] / [INFO]	file fd = 1
+[2025-08-07 14:16:46:863] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:16:46:864] / [INFO]	Creating Serial object
+[2025-08-07 14:16:46:866] / [INFO]	Connecting to Serial object
+[2025-08-07 14:16:46:868] / [INFO]	Checking connection
+[2025-08-07 14:16:46:869] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:16:46:993] / [INFO]	S serial.available = 0
+[2025-08-07 14:16:48:9] / [INFO]	S serial.readString = 
+[2025-08-07 14:16:48:10] / [INFO]	Q serial.available = 25
+[2025-08-07 14:16:48:12] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:16:51:54] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:16:51:55] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-141937.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:19:37:377] / [INFO]	Start...
+[2025-08-07 14:19:37:377] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:19:37:377] / [INFO]	Try to load file...
+[2025-08-07 14:19:37:377] / [OK]	External XML structure is OK
+[2025-08-07 14:19:37:378] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:19:37:378] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:19:37:378] / [DONE]	File loaded successfully
+[2025-08-07 14:19:37:378] / [INFO]	Creating synchronization program...
+[2025-08-07 14:19:37:378] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:19:37:379] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:19:37:380] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:19:37:381] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:19:37:383] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:19:37:384] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:19:37:385] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:19:37:389] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:19:37:390] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:19:37:391] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:19:37:394] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:19:37:395] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:19:37:397] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:19:37:398] / [DONE]	Events added
+[2025-08-07 14:19:37:400] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:19:37:403] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:19:37:404] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:19:37:413] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:19:37:419] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:19:37:420] / [INFO]	file fd = 1
+[2025-08-07 14:19:37:426] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:19:37:427] / [INFO]	Creating Serial object
+[2025-08-07 14:19:37:430] / [INFO]	Connecting to Serial object
+[2025-08-07 14:19:37:434] / [INFO]	Checking connection
+[2025-08-07 14:19:37:435] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:19:37:561] / [INFO]	S serial.available = 22
+[2025-08-07 14:19:37:566] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:19:37:572] / [INFO]	Q serial.available = 0
+[2025-08-07 14:19:37:574] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:19:40:616] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:19:40:616] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-142030.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:20:30:292] / [INFO]	Start...
+[2025-08-07 14:20:30:293] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:20:30:293] / [INFO]	Try to load file...
+[2025-08-07 14:20:30:293] / [OK]	External XML structure is OK
+[2025-08-07 14:20:30:293] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:20:30:294] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:20:30:294] / [DONE]	File loaded successfully
+[2025-08-07 14:20:30:294] / [INFO]	Creating synchronization program...
+[2025-08-07 14:20:30:294] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:20:30:295] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:20:30:296] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:20:30:297] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:20:30:299] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:20:30:300] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:20:30:301] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:20:30:304] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:20:30:306] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:20:30:308] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:20:30:312] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:20:30:313] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:20:30:316] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:20:30:317] / [DONE]	Events added
+[2025-08-07 14:20:30:318] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:20:30:320] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:20:30:322] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:20:30:331] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:20:30:337] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:20:30:338] / [INFO]	file fd = 1
+[2025-08-07 14:20:30:351] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:20:30:352] / [INFO]	Creating Serial object
+[2025-08-07 14:20:30:353] / [INFO]	Connecting to Serial object
+[2025-08-07 14:20:30:355] / [INFO]	Checking connection
+[2025-08-07 14:20:30:356] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:20:30:466] / [INFO]	S serial.available = 22
+[2025-08-07 14:20:30:470] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:20:30:475] / [INFO]	Q serial.available = 0
+[2025-08-07 14:20:30:477] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:20:33:528] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:20:33:528] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-142133.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:21:33:86] / [INFO]	Start...
+[2025-08-07 14:21:33:86] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:21:33:87] / [INFO]	Try to load file...
+[2025-08-07 14:21:33:87] / [OK]	External XML structure is OK
+[2025-08-07 14:21:33:87] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:21:33:87] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:21:33:87] / [DONE]	File loaded successfully
+[2025-08-07 14:21:33:88] / [INFO]	Creating synchronization program...
+[2025-08-07 14:21:33:88] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:21:33:89] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:21:33:89] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:21:33:90] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:21:33:93] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:21:33:94] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:21:33:96] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:21:33:102] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:21:33:103] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:21:33:104] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:21:33:107] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:21:33:108] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:21:33:110] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:21:33:111] / [DONE]	Events added
+[2025-08-07 14:21:33:113] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:21:33:115] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:21:33:116] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:21:33:124] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:21:33:130] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:21:33:131] / [INFO]	file fd = 1
+[2025-08-07 14:21:33:138] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:21:33:139] / [INFO]	Creating Serial object
+[2025-08-07 14:21:33:140] / [INFO]	Connecting to Serial object
+[2025-08-07 14:21:33:142] / [INFO]	Checking connection
+[2025-08-07 14:21:33:143] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:21:33:259] / [INFO]	S serial.available = 22
+[2025-08-07 14:21:33:260] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:21:33:261] / [INFO]	Q serial.available = 0
+[2025-08-07 14:21:33:262] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:21:36:313] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:21:36:314] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-142240.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:22:40:188] / [INFO]	Start...
+[2025-08-07 14:22:40:188] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:22:40:189] / [INFO]	Try to load file...
+[2025-08-07 14:22:40:189] / [OK]	External XML structure is OK
+[2025-08-07 14:22:40:189] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:22:40:189] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:22:40:189] / [DONE]	File loaded successfully
+[2025-08-07 14:22:40:190] / [INFO]	Creating synchronization program...
+[2025-08-07 14:22:40:190] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:22:40:191] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:22:40:192] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:22:40:194] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:40:196] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:22:40:197] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:22:40:199] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:40:202] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:22:40:203] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:22:40:204] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:40:208] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:22:40:211] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:22:40:212] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:40:213] / [DONE]	Events added
+[2025-08-07 14:22:40:214] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:40:215] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:40:216] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:22:40:226] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:22:40:232] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:22:40:233] / [INFO]	file fd = 1
+[2025-08-07 14:22:40:247] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:22:40:248] / [INFO]	Creating Serial object
+[2025-08-07 14:22:40:249] / [INFO]	Connecting to Serial object
+[2025-08-07 14:22:40:251] / [INFO]	Checking connection
+[2025-08-07 14:22:40:252] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:22:40:369] / [INFO]	S serial.available = 22
+[2025-08-07 14:22:40:374] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:22:40:379] / [INFO]	Q serial.available = 25
+[2025-08-07 14:22:40:380] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:22:43:427] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:22:43:428] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-142259.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:22:59:270] / [INFO]	Start...
+[2025-08-07 14:22:59:270] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:22:59:271] / [INFO]	Try to load file...
+[2025-08-07 14:22:59:271] / [OK]	External XML structure is OK
+[2025-08-07 14:22:59:271] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:22:59:271] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:22:59:271] / [DONE]	File loaded successfully
+[2025-08-07 14:22:59:272] / [INFO]	Creating synchronization program...
+[2025-08-07 14:22:59:272] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:22:59:272] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:22:59:273] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:22:59:277] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:59:279] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:22:59:280] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:22:59:282] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:59:285] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:22:59:286] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:22:59:287] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:59:290] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:22:59:292] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:22:59:294] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:59:295] / [DONE]	Events added
+[2025-08-07 14:22:59:296] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:59:297] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:22:59:299] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:22:59:306] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:22:59:313] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:22:59:314] / [INFO]	file fd = 1
+[2025-08-07 14:22:59:321] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:22:59:322] / [INFO]	Creating Serial object
+[2025-08-07 14:22:59:323] / [INFO]	Connecting to Serial object
+[2025-08-07 14:22:59:325] / [INFO]	Checking connection
+[2025-08-07 14:22:59:329] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:22:59:439] / [INFO]	S serial.available = 22
+[2025-08-07 14:22:59:440] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:22:59:442] / [INFO]	Q serial.available = 0
+[2025-08-07 14:22:59:443] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:23:02:482] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:23:02:482] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-142357.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:23:57:82] / [INFO]	Start...
+[2025-08-07 14:23:57:82] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:23:57:83] / [INFO]	Try to load file...
+[2025-08-07 14:23:57:83] / [OK]	External XML structure is OK
+[2025-08-07 14:23:57:83] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:23:57:83] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:23:57:84] / [DONE]	File loaded successfully
+[2025-08-07 14:23:57:84] / [INFO]	Creating synchronization program...
+[2025-08-07 14:23:57:84] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:23:57:84] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:23:57:85] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:23:57:87] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:23:57:90] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:23:57:91] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:23:57:93] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:23:57:96] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:23:57:96] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:23:57:98] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:23:57:100] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:23:57:101] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:23:57:103] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:23:57:104] / [DONE]	Events added
+[2025-08-07 14:23:57:107] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:23:57:110] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:23:57:111] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:23:57:120] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:23:57:126] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:23:57:126] / [INFO]	file fd = 1
+[2025-08-07 14:23:57:133] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:23:57:134] / [INFO]	Creating Serial object
+[2025-08-07 14:23:57:135] / [INFO]	Connecting to Serial object
+[2025-08-07 14:23:57:137] / [INFO]	Checking connection
+[2025-08-07 14:23:57:139] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:23:57:256] / [INFO]	S serial.available = 22
+[2025-08-07 14:23:57:259] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:23:57:262] / [INFO]	Q serial.available = 23
+[2025-08-07 14:23:57:264] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:24:00:299] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:24:00:300] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-142455.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:24:55:829] / [INFO]	Start...
+[2025-08-07 14:24:55:830] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:24:55:830] / [INFO]	Try to load file...
+[2025-08-07 14:24:55:830] / [OK]	External XML structure is OK
+[2025-08-07 14:24:55:830] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:24:55:830] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:24:55:830] / [DONE]	File loaded successfully
+[2025-08-07 14:24:55:831] / [INFO]	Creating synchronization program...
+[2025-08-07 14:24:55:831] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:24:55:831] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:24:55:832] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:24:55:834] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:24:55:836] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:24:55:837] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:24:55:839] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:24:55:842] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:24:55:843] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:24:55:845] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:24:55:847] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:24:55:848] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:24:55:850] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:24:55:851] / [DONE]	Events added
+[2025-08-07 14:24:55:853] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:24:55:854] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:24:55:856] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:24:55:865] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:24:55:870] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:24:55:871] / [INFO]	file fd = 1
+[2025-08-07 14:24:55:879] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:24:55:880] / [INFO]	Creating Serial object
+[2025-08-07 14:24:55:881] / [INFO]	Connecting to Serial object
+[2025-08-07 14:24:55:883] / [INFO]	Checking connection
+[2025-08-07 14:24:55:884] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:24:55:999] / [INFO]	S serial.available = 22
+[2025-08-07 14:24:56:1] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:24:56:2] / [INFO]	Q serial.available = 0
+[2025-08-07 14:24:56:3] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:24:59:33] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:24:59:34] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-142600.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:26:00:481] / [INFO]	Start...
+[2025-08-07 14:26:00:481] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:26:00:482] / [INFO]	Try to load file...
+[2025-08-07 14:26:00:482] / [OK]	External XML structure is OK
+[2025-08-07 14:26:00:482] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:26:00:482] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:26:00:482] / [DONE]	File loaded successfully
+[2025-08-07 14:26:00:483] / [INFO]	Creating synchronization program...
+[2025-08-07 14:26:00:483] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:26:00:483] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:26:00:484] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:26:00:486] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:00:489] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:26:00:490] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:26:00:491] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:00:495] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:26:00:496] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:26:00:497] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:00:500] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:26:00:501] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:26:00:505] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:00:507] / [DONE]	Events added
+[2025-08-07 14:26:00:508] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:00:510] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:00:511] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:26:00:519] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:26:00:525] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:26:00:526] / [INFO]	file fd = 1
+[2025-08-07 14:26:00:534] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:26:00:535] / [INFO]	Creating Serial object
+[2025-08-07 14:26:00:536] / [INFO]	Connecting to Serial object
+[2025-08-07 14:26:00:538] / [INFO]	Checking connection
+[2025-08-07 14:26:00:539] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:26:00:659] / [INFO]	S serial.available = 22
+[2025-08-07 14:26:00:661] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:26:00:664] / [INFO]	Q serial.available = 23
+[2025-08-07 14:26:00:668] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:26:03:699] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:26:03:700] / [OK]	DONE!

+ 132 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-142617.log

@@ -0,0 +1,132 @@
+[2025-08-07 14:26:17:951] / [INFO]	Start...
+[2025-08-07 14:26:17:951] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:26:17:952] / [INFO]	Try to load file...
+[2025-08-07 14:26:17:952] / [OK]	External XML structure is OK
+[2025-08-07 14:26:17:952] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:26:17:952] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:26:17:953] / [DONE]	File loaded successfully
+[2025-08-07 14:26:17:953] / [INFO]	Creating synchronization program...
+[2025-08-07 14:26:17:953] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:26:17:954] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:26:17:955] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:26:17:956] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:17:958] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:26:17:959] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:26:17:961] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:17:964] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:26:17:965] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:26:17:967] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:17:970] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:26:17:971] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:26:17:973] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:17:974] / [DONE]	Events added
+[2025-08-07 14:26:17:975] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:17:977] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:26:17:979] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:26:17:987] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:26:17:993] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:26:17:994] / [INFO]	file fd = 1
+[2025-08-07 14:26:18:2] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:26:18:2] / [INFO]	Creating Serial object
+[2025-08-07 14:26:18:4] / [INFO]	Connecting to Serial object
+[2025-08-07 14:26:18:6] / [INFO]	Checking connection
+[2025-08-07 14:26:18:7] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:26:18:118] / [INFO]	S serial.available = 0
+[2025-08-07 14:26:19:134] / [INFO]	S serial.readString = 
+[2025-08-07 14:26:19:135] / [INFO]	Q serial.available = 25
+[2025-08-07 14:26:19:136] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:26:22:186] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:26:22:187] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-143258.log

@@ -0,0 +1,133 @@
+[2025-08-07 14:32:58:943] / [INFO]	Start...
+[2025-08-07 14:32:58:944] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 14:32:58:944] / [INFO]	Try to load file...
+[2025-08-07 14:32:58:944] / [OK]	External XML structure is OK
+[2025-08-07 14:32:58:944] / [DEBUG]	ParamCount = 5
+[2025-08-07 14:32:58:945] / [OK]	Internal structure of XML is OK
+[2025-08-07 14:32:58:945] / [DONE]	File loaded successfully
+[2025-08-07 14:32:58:945] / [INFO]	Creating synchronization program...
+[2025-08-07 14:32:58:947] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 14:32:58:948] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:32:58:949] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 14:32:58:950] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:32:58:952] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:32:58:953] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 14:32:58:955] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:32:58:959] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 14:32:58:960] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 14:32:58:961] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:32:58:965] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 14:32:58:966] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 14:32:58:967] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:32:58:969] / [DONE]	Events added
+[2025-08-07 14:32:58:970] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:32:58:972] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 14:32:58:973] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 14:32:58:981] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 14:32:58:987] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 14:32:58:988] / [INFO]	file fd = 1
+[2025-08-07 14:32:58:995] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 14:32:58:996] / [INFO]	Creating Serial object
+[2025-08-07 14:32:58:997] / [INFO]	Connecting to Serial object
+[2025-08-07 14:32:59:0] / [INFO]	Checking connection
+[2025-08-07 14:32:59:1] / [DONE]	Successful connection to \\.\COM7[2025-08-07 14:32:59:117] / [INFO]	S serial.available = 22
+[2025-08-07 14:32:59:120] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 14:32:59:124] / [INFO]	Q serial.available = 0
+[2025-08-07 14:32:59:126] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 14:33:02:174] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 14:33:02:175] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-150430.log

@@ -0,0 +1,133 @@
+[2025-08-07 15:04:30:609] / [INFO]	Start...
+[2025-08-07 15:04:30:609] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 15:04:30:609] / [INFO]	Try to load file...
+[2025-08-07 15:04:30:609] / [OK]	External XML structure is OK
+[2025-08-07 15:04:30:610] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:04:30:610] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:04:30:610] / [DONE]	File loaded successfully
+[2025-08-07 15:04:30:610] / [INFO]	Creating synchronization program...
+[2025-08-07 15:04:30:611] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:04:30:611] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:04:30:612] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:04:30:613] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:04:30:615] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:04:30:616] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:04:30:618] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:04:30:622] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:04:30:623] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:04:30:624] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:04:30:627] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:04:30:628] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:04:30:629] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:04:30:630] / [DONE]	Events added
+[2025-08-07 15:04:30:632] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:04:30:633] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:04:30:636] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:04:30:644] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 15:04:30:650] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:04:30:651] / [INFO]	file fd = 1
+[2025-08-07 15:04:30:657] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:04:30:659] / [INFO]	Creating Serial object
+[2025-08-07 15:04:30:661] / [INFO]	Connecting to Serial object
+[2025-08-07 15:04:30:663] / [INFO]	Checking connection
+[2025-08-07 15:04:30:664] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:04:30:780] / [INFO]	S serial.available = 22
+[2025-08-07 15:04:30:784] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 15:04:30:787] / [INFO]	Q serial.available = 23
+[2025-08-07 15:04:30:790] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:04:33:828] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:04:33:829] / [OK]	DONE!

+ 132 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-150524.log

@@ -0,0 +1,132 @@
+[2025-08-07 15:05:24:595] / [INFO]	Start...
+[2025-08-07 15:05:24:595] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 15:05:24:595] / [INFO]	Try to load file...
+[2025-08-07 15:05:24:596] / [OK]	External XML structure is OK
+[2025-08-07 15:05:24:596] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:05:24:596] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:05:24:596] / [DONE]	File loaded successfully
+[2025-08-07 15:05:24:596] / [INFO]	Creating synchronization program...
+[2025-08-07 15:05:24:597] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:05:24:597] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:05:24:598] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:05:24:599] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:24:602] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:05:24:603] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:05:24:604] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:24:606] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:05:24:608] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:05:24:610] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:24:613] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:05:24:614] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:05:24:615] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:24:616] / [DONE]	Events added
+[2025-08-07 15:05:24:617] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:24:619] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:24:620] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:05:24:629] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 15:05:24:637] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:05:24:638] / [INFO]	file fd = 1
+[2025-08-07 15:05:24:646] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:05:24:647] / [INFO]	Creating Serial object
+[2025-08-07 15:05:24:648] / [INFO]	Connecting to Serial object
+[2025-08-07 15:05:24:650] / [INFO]	Checking connection
+[2025-08-07 15:05:24:651] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:05:24:755] / [INFO]	S serial.available = 0
+[2025-08-07 15:05:25:764] / [INFO]	S serial.readString = 
+[2025-08-07 15:05:25:770] / [INFO]	Q serial.available = 23
+[2025-08-07 15:05:25:773] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:05:28:806] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:05:28:807] / [OK]	DONE!

+ 132 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-150543.log

@@ -0,0 +1,132 @@
+[2025-08-07 15:05:43:507] / [INFO]	Start...
+[2025-08-07 15:05:43:507] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 15:05:43:507] / [INFO]	Try to load file...
+[2025-08-07 15:05:43:507] / [OK]	External XML structure is OK
+[2025-08-07 15:05:43:507] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:05:43:508] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:05:43:508] / [DONE]	File loaded successfully
+[2025-08-07 15:05:43:508] / [INFO]	Creating synchronization program...
+[2025-08-07 15:05:43:509] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:05:43:509] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:05:43:510] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:05:43:511] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:43:513] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:05:43:514] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:05:43:515] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:43:520] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:05:43:521] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:05:43:522] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:43:525] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:05:43:526] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:05:43:528] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:43:529] / [DONE]	Events added
+[2025-08-07 15:05:43:531] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:43:532] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:05:43:534] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:05:43:542] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 15:05:43:549] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:05:43:549] / [INFO]	file fd = 1
+[2025-08-07 15:05:43:556] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:05:43:558] / [INFO]	Creating Serial object
+[2025-08-07 15:05:43:559] / [INFO]	Connecting to Serial object
+[2025-08-07 15:05:43:561] / [INFO]	Checking connection
+[2025-08-07 15:05:43:562] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:05:43:683] / [INFO]	S serial.available = 0
+[2025-08-07 15:05:44:687] / [INFO]	S serial.readString = 
+[2025-08-07 15:05:44:688] / [INFO]	Q serial.available = 23
+[2025-08-07 15:05:44:690] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:05:47:729] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:05:47:729] / [OK]	DONE!

+ 132 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-150912.log

@@ -0,0 +1,132 @@
+[2025-08-07 15:09:12:505] / [INFO]	Start...
+[2025-08-07 15:09:12:505] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 15:09:12:505] / [INFO]	Try to load file...
+[2025-08-07 15:09:12:506] / [OK]	External XML structure is OK
+[2025-08-07 15:09:12:506] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:09:12:506] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:09:12:506] / [DONE]	File loaded successfully
+[2025-08-07 15:09:12:506] / [INFO]	Creating synchronization program...
+[2025-08-07 15:09:12:507] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:09:12:507] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:09:12:508] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:09:12:509] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:09:12:511] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:09:12:512] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:09:12:514] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:09:12:518] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:09:12:519] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:09:12:521] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:09:12:528] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:09:12:529] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:09:12:531] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:09:12:533] / [DONE]	Events added
+[2025-08-07 15:09:12:534] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:09:12:535] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:09:12:537] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:09:12:544] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 15:09:12:549] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:09:12:550] / [INFO]	file fd = 1
+[2025-08-07 15:09:12:563] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:09:12:564] / [INFO]	Creating Serial object
+[2025-08-07 15:09:12:565] / [INFO]	Connecting to Serial object
+[2025-08-07 15:09:12:567] / [INFO]	Checking connection
+[2025-08-07 15:09:12:568] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:09:12:692] / [INFO]	S serial.available = 0
+[2025-08-07 15:09:13:690] / [INFO]	S serial.readString = 
+[2025-08-07 15:09:13:696] / [INFO]	Q serial.available = 23
+[2025-08-07 15:09:13:699] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:09:16:751] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:09:16:752] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-151732.log

@@ -0,0 +1,133 @@
+[2025-08-07 15:17:32:586] / [INFO]	Start...
+[2025-08-07 15:17:32:586] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 15:17:32:586] / [INFO]	Try to load file...
+[2025-08-07 15:17:32:586] / [OK]	External XML structure is OK
+[2025-08-07 15:17:32:587] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:17:32:587] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:17:32:587] / [DONE]	File loaded successfully
+[2025-08-07 15:17:32:587] / [INFO]	Creating synchronization program...
+[2025-08-07 15:17:32:587] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:17:32:588] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:17:32:589] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:17:32:590] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:17:32:592] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:17:32:593] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:17:32:599] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:17:32:602] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:17:32:603] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:17:32:605] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:17:32:608] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:17:32:609] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:17:32:612] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:17:32:613] / [DONE]	Events added
+[2025-08-07 15:17:32:614] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:17:32:616] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:17:32:617] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:17:32:625] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 15:17:32:635] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:17:32:636] / [INFO]	file fd = 1
+[2025-08-07 15:17:32:643] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:17:32:644] / [INFO]	Creating Serial object
+[2025-08-07 15:17:32:645] / [INFO]	Connecting to Serial object
+[2025-08-07 15:17:32:648] / [INFO]	Checking connection
+[2025-08-07 15:17:32:649] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:17:32:755] / [INFO]	S serial.available = 22
+[2025-08-07 15:17:32:757] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 15:17:32:760] / [INFO]	Q serial.available = 23
+[2025-08-07 15:17:32:762] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:17:35:796] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:17:35:796] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-151828.log

@@ -0,0 +1,133 @@
+[2025-08-07 15:18:28:470] / [INFO]	Start...
+[2025-08-07 15:18:28:470] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 15:18:28:470] / [INFO]	Try to load file...
+[2025-08-07 15:18:28:471] / [OK]	External XML structure is OK
+[2025-08-07 15:18:28:471] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:18:28:471] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:18:28:471] / [DONE]	File loaded successfully
+[2025-08-07 15:18:28:471] / [INFO]	Creating synchronization program...
+[2025-08-07 15:18:28:472] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:18:28:472] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:18:28:473] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:18:28:474] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:18:28:477] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:18:28:478] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:18:28:480] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:18:28:483] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:18:28:484] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:18:28:485] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:18:28:488] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:18:28:489] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:18:28:491] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:18:28:492] / [DONE]	Events added
+[2025-08-07 15:18:28:493] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:18:28:495] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:18:28:497] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:18:28:507] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 15:18:28:512] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:18:28:513] / [INFO]	file fd = 1
+[2025-08-07 15:18:28:521] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:18:28:522] / [INFO]	Creating Serial object
+[2025-08-07 15:18:28:524] / [INFO]	Connecting to Serial object
+[2025-08-07 15:18:28:525] / [INFO]	Checking connection
+[2025-08-07 15:18:28:527] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:18:28:648] / [INFO]	S serial.available = 22
+[2025-08-07 15:18:28:652] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 15:18:28:655] / [INFO]	Q serial.available = 25
+[2025-08-07 15:18:28:658] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:18:31:679] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:18:31:680] / [OK]	DONE!

+ 132 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-152610.log

@@ -0,0 +1,132 @@
+[2025-08-07 15:26:10:134] / [INFO]	Start...
+[2025-08-07 15:26:10:134] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 15:26:10:134] / [INFO]	Try to load file...
+[2025-08-07 15:26:10:135] / [OK]	External XML structure is OK
+[2025-08-07 15:26:10:135] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:26:10:135] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:26:10:135] / [DONE]	File loaded successfully
+[2025-08-07 15:26:10:135] / [INFO]	Creating synchronization program...
+[2025-08-07 15:26:10:136] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:26:10:136] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:26:10:137] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:26:10:138] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:26:10:140] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:26:10:141] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:26:10:142] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:26:10:145] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:26:10:146] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:26:10:147] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:26:10:149] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:26:10:151] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:26:10:155] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:26:10:156] / [DONE]	Events added
+[2025-08-07 15:26:10:157] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:26:10:158] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:26:10:159] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:26:10:168] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 15:26:10:176] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:26:10:176] / [INFO]	file fd = 1
+[2025-08-07 15:26:10:185] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:26:10:186] / [INFO]	Creating Serial object
+[2025-08-07 15:26:10:188] / [INFO]	Connecting to Serial object
+[2025-08-07 15:26:10:190] / [INFO]	Checking connection
+[2025-08-07 15:26:10:191] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:26:10:301] / [INFO]	S serial.available = 0
+[2025-08-07 15:26:11:306] / [INFO]	S serial.readString = 
+[2025-08-07 15:26:11:308] / [INFO]	Q serial.available = 0
+[2025-08-07 15:26:11:310] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:26:14:369] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:26:14:370] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-153751.log

@@ -0,0 +1,133 @@
+[2025-08-07 15:37:51:455] / [INFO]	Start...
+[2025-08-07 15:37:51:456] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 15:37:51:456] / [INFO]	Try to load file...
+[2025-08-07 15:37:51:456] / [OK]	External XML structure is OK
+[2025-08-07 15:37:51:456] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:37:51:456] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:37:51:457] / [DONE]	File loaded successfully
+[2025-08-07 15:37:51:457] / [INFO]	Creating synchronization program...
+[2025-08-07 15:37:51:457] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:37:51:457] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:37:51:458] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:37:51:460] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:37:51:462] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:37:51:463] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:37:51:464] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:37:51:469] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:37:51:470] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:37:51:471] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:37:51:475] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:37:51:476] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:37:51:478] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:37:51:479] / [DONE]	Events added
+[2025-08-07 15:37:51:481] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:37:51:482] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:37:51:483] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:37:51:492] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 15:37:51:497] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:37:51:498] / [INFO]	file fd = 1
+[2025-08-07 15:37:51:510] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:37:51:511] / [INFO]	Creating Serial object
+[2025-08-07 15:37:51:512] / [INFO]	Connecting to Serial object
+[2025-08-07 15:37:51:514] / [INFO]	Checking connection
+[2025-08-07 15:37:51:515] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:37:51:630] / [INFO]	S serial.available = 22
+[2025-08-07 15:37:51:634] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 15:37:51:639] / [INFO]	Q serial.available = 23
+[2025-08-07 15:37:51:641] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:37:54:673] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:37:54:674] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-154119.log

@@ -0,0 +1,133 @@
+[2025-08-07 15:41:19:721] / [INFO]	Start...
+[2025-08-07 15:41:19:722] / [INFO]	File: C:\LF_MRI\test_19_02_2025\Sync_param_test_19_02_2025.xml
+[2025-08-07 15:41:19:722] / [INFO]	Try to load file...
+[2025-08-07 15:41:19:722] / [OK]	External XML structure is OK
+[2025-08-07 15:41:19:722] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:41:19:722] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:41:19:723] / [DONE]	File loaded successfully
+[2025-08-07 15:41:19:723] / [INFO]	Creating synchronization program...
+[2025-08-07 15:41:19:723] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:41:19:723] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:41:19:724] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:41:19:726] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:41:19:728] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:41:19:729] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:41:19:730] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:41:19:734] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:41:19:735] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:41:19:736] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:41:19:739] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:41:19:740] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:41:19:741] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:41:19:742] / [DONE]	Events added
+[2025-08-07 15:41:19:743] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:41:19:744] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:41:19:746] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:41:19:761] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+000061A8
+02000000
+00002710
+02000002
+000061A8
+02000000
+000061A8
+00030000
+[2025-08-07 15:41:19:767] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:41:19:768] / [INFO]	file fd = 1
+[2025-08-07 15:41:19:776] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:41:19:777] / [INFO]	Creating Serial object
+[2025-08-07 15:41:19:778] / [INFO]	Connecting to Serial object
+[2025-08-07 15:41:19:780] / [INFO]	Checking connection
+[2025-08-07 15:41:19:781] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:41:19:882] / [INFO]	S serial.available = 22
+[2025-08-07 15:41:19:883] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 15:41:19:885] / [INFO]	Q serial.available = 25
+[2025-08-07 15:41:19:885] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:41:22:920] / [UNDEF]	D serial.readString = 254 86 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x61a8
+9 outputs: 0x2000000 time: 0x2710
+11 outputs: 0x2000002 time: 0x61a8
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:41:22:920] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-154501.log

@@ -0,0 +1,133 @@
+[2025-08-07 15:45:01:354] / [INFO]	Start...
+[2025-08-07 15:45:01:354] / [INFO]	File: C:\LF_MRI\test_21_02_25\Sync_param_test_21_02_2025.xml
+[2025-08-07 15:45:01:354] / [INFO]	Try to load file...
+[2025-08-07 15:45:01:355] / [OK]	External XML structure is OK
+[2025-08-07 15:45:01:355] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:45:01:355] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:45:01:355] / [DONE]	File loaded successfully
+[2025-08-07 15:45:01:355] / [INFO]	Creating synchronization program...
+[2025-08-07 15:45:01:356] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:45:01:356] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:45:01:357] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:45:01:358] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:45:01:360] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:45:01:363] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:45:01:364] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:45:01:367] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:45:01:368] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:45:01:369] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:45:01:372] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:45:01:373] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:45:01:375] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:45:01:375] / [DONE]	Events added
+[2025-08-07 15:45:01:376] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:45:01:379] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:45:01:381] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:45:01:390] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+00001388
+02000002
+000002BC
+02000002
+00001388
+02000000
+000061A8
+00030000
+[2025-08-07 15:45:01:396] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:45:01:397] / [INFO]	file fd = 1
+[2025-08-07 15:45:01:404] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:45:01:405] / [INFO]	Creating Serial object
+[2025-08-07 15:45:01:406] / [INFO]	Connecting to Serial object
+[2025-08-07 15:45:01:408] / [INFO]	Checking connection
+[2025-08-07 15:45:01:409] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:45:01:528] / [INFO]	S serial.available = 22
+[2025-08-07 15:45:01:531] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 15:45:01:533] / [INFO]	Q serial.available = 23
+[2025-08-07 15:45:01:535] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:45:04:562] / [UNDEF]	D serial.readString = 182 90 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:45:04:563] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-154603.log

@@ -0,0 +1,133 @@
+[2025-08-07 15:46:03:497] / [INFO]	Start...
+[2025-08-07 15:46:03:497] / [INFO]	File: C:\LF_MRI\test_21_02_25\Sync_param_test_21_02_2025.xml
+[2025-08-07 15:46:03:497] / [INFO]	Try to load file...
+[2025-08-07 15:46:03:498] / [OK]	External XML structure is OK
+[2025-08-07 15:46:03:498] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:46:03:498] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:46:03:498] / [DONE]	File loaded successfully
+[2025-08-07 15:46:03:498] / [INFO]	Creating synchronization program...
+[2025-08-07 15:46:03:499] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:46:03:499] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:46:03:500] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:46:03:501] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:03:503] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:46:03:504] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:46:03:506] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:03:510] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:46:03:511] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:46:03:512] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:03:515] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:46:03:516] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:46:03:519] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:03:520] / [DONE]	Events added
+[2025-08-07 15:46:03:521] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:03:523] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:03:524] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:46:03:533] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+00001388
+02000002
+000002BC
+02000002
+00001388
+02000000
+000061A8
+00030000
+[2025-08-07 15:46:03:538] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:46:03:539] / [INFO]	file fd = 1
+[2025-08-07 15:46:03:550] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:46:03:551] / [INFO]	Creating Serial object
+[2025-08-07 15:46:03:552] / [INFO]	Connecting to Serial object
+[2025-08-07 15:46:03:554] / [INFO]	Checking connection
+[2025-08-07 15:46:03:555] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:46:03:678] / [INFO]	S serial.available = 22
+[2025-08-07 15:46:03:682] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 15:46:03:687] / [INFO]	Q serial.available = 23
+[2025-08-07 15:46:03:689] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:46:06:730] / [UNDEF]	D serial.readString = 182 90 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:46:06:731] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-154646.log

@@ -0,0 +1,133 @@
+[2025-08-07 15:46:46:597] / [INFO]	Start...
+[2025-08-07 15:46:46:597] / [INFO]	File: C:\LF_MRI\test_21_02_25\Sync_param_test_21_02_2025.xml
+[2025-08-07 15:46:46:597] / [INFO]	Try to load file...
+[2025-08-07 15:46:46:597] / [OK]	External XML structure is OK
+[2025-08-07 15:46:46:598] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:46:46:598] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:46:46:598] / [DONE]	File loaded successfully
+[2025-08-07 15:46:46:598] / [INFO]	Creating synchronization program...
+[2025-08-07 15:46:46:599] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:46:46:599] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:46:46:600] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:46:46:601] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:46:604] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:46:46:605] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:46:46:606] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:46:611] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:46:46:612] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:46:46:613] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:46:615] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:46:46:617] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:46:46:619] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:46:620] / [DONE]	Events added
+[2025-08-07 15:46:46:622] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:46:623] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:46:46:624] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:46:46:633] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+00001388
+02000002
+000002BC
+02000002
+00001388
+02000000
+000061A8
+00030000
+[2025-08-07 15:46:46:639] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:46:46:639] / [INFO]	file fd = 1
+[2025-08-07 15:46:46:647] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:46:46:649] / [INFO]	Creating Serial object
+[2025-08-07 15:46:46:650] / [INFO]	Connecting to Serial object
+[2025-08-07 15:46:46:651] / [INFO]	Checking connection
+[2025-08-07 15:46:46:653] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:46:46:777] / [INFO]	S serial.available = 22
+[2025-08-07 15:46:46:781] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 15:46:46:784] / [INFO]	Q serial.available = 23
+[2025-08-07 15:46:46:787] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:46:49:823] / [UNDEF]	D serial.readString = 182 90 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:46:49:823] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-154727.log

@@ -0,0 +1,133 @@
+[2025-08-07 15:47:27:690] / [INFO]	Start...
+[2025-08-07 15:47:27:690] / [INFO]	File: C:\LF_MRI\test_21_02_25\Sync_param_test_21_02_2025.xml
+[2025-08-07 15:47:27:690] / [INFO]	Try to load file...
+[2025-08-07 15:47:27:690] / [OK]	External XML structure is OK
+[2025-08-07 15:47:27:690] / [DEBUG]	ParamCount = 5
+[2025-08-07 15:47:27:690] / [OK]	Internal structure of XML is OK
+[2025-08-07 15:47:27:691] / [DONE]	File loaded successfully
+[2025-08-07 15:47:27:691] / [INFO]	Creating synchronization program...
+[2025-08-07 15:47:27:693] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 15:47:27:694] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:47:27:695] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 15:47:27:696] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:47:27:698] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:47:27:699] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 15:47:27:701] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:47:27:703] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 15:47:27:704] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 15:47:27:706] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:47:27:710] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 15:47:27:711] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 15:47:27:712] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:47:27:713] / [DONE]	Events added
+[2025-08-07 15:47:27:715] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:47:27:718] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 15:47:27:719] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 15:47:27:728] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+00001388
+02000002
+000002BC
+02000002
+00001388
+02000000
+000061A8
+00030000
+[2025-08-07 15:47:27:734] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 15:47:27:734] / [INFO]	file fd = 1
+[2025-08-07 15:47:27:742] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 15:47:27:743] / [INFO]	Creating Serial object
+[2025-08-07 15:47:27:744] / [INFO]	Connecting to Serial object
+[2025-08-07 15:47:27:746] / [INFO]	Checking connection
+[2025-08-07 15:47:27:747] / [DONE]	Successful connection to \\.\COM7[2025-08-07 15:47:27:876] / [INFO]	S serial.available = 22
+[2025-08-07 15:47:27:877] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 15:47:27:879] / [INFO]	Q serial.available = 23
+[2025-08-07 15:47:27:880] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 15:47:30:904] / [UNDEF]	D serial.readString = 182 90 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 15:47:30:904] / [OK]	DONE!

+ 133 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-171813.log

@@ -0,0 +1,133 @@
+[2025-08-07 17:18:13:165] / [INFO]	Start...
+[2025-08-07 17:18:13:165] / [INFO]	File: C:\LF_MRI\test_21_02_25\Sync_param_test_21_02_2025.xml
+[2025-08-07 17:18:13:166] / [INFO]	Try to load file...
+[2025-08-07 17:18:13:167] / [OK]	External XML structure is OK
+[2025-08-07 17:18:13:167] / [DEBUG]	ParamCount = 5
+[2025-08-07 17:18:13:167] / [OK]	Internal structure of XML is OK
+[2025-08-07 17:18:13:168] / [DONE]	File loaded successfully
+[2025-08-07 17:18:13:168] / [INFO]	Creating synchronization program...
+[2025-08-07 17:18:13:169] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 17:18:13:170] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 17:18:13:171] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 17:18:13:172] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:13:177] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 17:18:13:178] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 17:18:13:179] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:13:183] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 17:18:13:184] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 17:18:13:185] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:13:196] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 17:18:13:197] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 17:18:13:199] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:13:199] / [DONE]	Events added
+[2025-08-07 17:18:13:201] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:13:203] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:13:205] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 17:18:13:215] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+00001388
+02000002
+000002BC
+02000002
+00001388
+02000000
+000061A8
+00030000
+[2025-08-07 17:18:13:226] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 17:18:13:227] / [INFO]	file fd = 1
+[2025-08-07 17:18:13:239] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 17:18:13:241] / [INFO]	Creating Serial object
+[2025-08-07 17:18:13:242] / [INFO]	Connecting to Serial object
+[2025-08-07 17:18:13:244] / [INFO]	Checking connection
+[2025-08-07 17:18:13:246] / [DONE]	Successful connection to \\.\COM7[2025-08-07 17:18:13:376] / [INFO]	S serial.available = 22
+[2025-08-07 17:18:13:381] / [INFO]	S serial.readString = status final_timeout

+
+[2025-08-07 17:18:13:388] / [INFO]	Q serial.available = 23
+[2025-08-07 17:18:13:390] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 17:18:16:430] / [UNDEF]	D serial.readString = 182 90 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 17:18:16:431] / [OK]	DONE!

+ 132 - 0
spectrometer_service/mserv00/synclogs/sync-log-20250807-171844.log

@@ -0,0 +1,132 @@
+[2025-08-07 17:18:44:471] / [INFO]	Start...
+[2025-08-07 17:18:44:473] / [INFO]	File: C:\LF_MRI\test_21_02_25\Sync_param_test_21_02_2025.xml
+[2025-08-07 17:18:44:474] / [INFO]	Try to load file...
+[2025-08-07 17:18:44:474] / [OK]	External XML structure is OK
+[2025-08-07 17:18:44:475] / [DEBUG]	ParamCount = 5
+[2025-08-07 17:18:44:475] / [OK]	Internal structure of XML is OK
+[2025-08-07 17:18:44:475] / [DONE]	File loaded successfully
+[2025-08-07 17:18:44:476] / [INFO]	Creating synchronization program...
+[2025-08-07 17:18:44:477] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 1
+7080100
+GRU 1
+7080100
+[2025-08-07 17:18:44:477] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 17:18:44:478] / [DEBUG]	Analise Node 1/5...
+[2025-08-07 17:18:44:480] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:44:490] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 17:18:44:491] / [DEBUG]	Analise Node 2/5...
+[2025-08-07 17:18:44:498] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:44:503] / [DEBUG]	
+RF 1
+7080002
+SW 0
+7080002
+ADC 0
+7080002
+GRU 0
+2000002
+[2025-08-07 17:18:44:504] / [DEBUG]	Analise Node 3/5...
+[2025-08-07 17:18:44:507] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:44:517] / [DEBUG]	
+RF 0
+7080000
+SW 0
+7080000
+ADC 0
+7080000
+GRU 0
+2000000
+[2025-08-07 17:18:44:518] / [DEBUG]	Analise Node 4/5...
+[2025-08-07 17:18:44:520] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:44:521] / [DONE]	Events added
+[2025-08-07 17:18:44:525] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:44:529] / [DEBUG]	duepp: Everything is allright
+[2025-08-07 17:18:44:530] / [DEBUG]	duepp: Get program dump:
+
+Program Dump
+0 BRANCH header, 2 events
+1 outputs: 0x7080000 time: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 EXI
+[2025-08-07 17:18:44:544] / [INFO]	Program in HEX:
+00020002
+07080000
+00000014
+07080100
+000000B4
+00060000
+00020004
+02000002
+00001388
+02000002
+000002BC
+02000002
+00001388
+02000000
+000061A8
+00030000
+[2025-08-07 17:18:44:551] / [INFO]	Trying due_download_prog_save_to_file_command() 
+[2025-08-07 17:18:44:552] / [INFO]	file fd = 1
+[2025-08-07 17:18:44:565] / [ERROR]	duepp: due_download_command: got invalid file descriptor (<=0) 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E
+[2025-08-07 17:18:44:566] / [INFO]	Creating Serial object
+[2025-08-07 17:18:44:567] / [INFO]	Connecting to Serial object
+[2025-08-07 17:18:44:569] / [INFO]	Checking connection
+[2025-08-07 17:18:44:570] / [DONE]	Successful connection to \\.\COM7[2025-08-07 17:18:44:667] / [INFO]	S serial.available = 0
+[2025-08-07 17:18:45:680] / [INFO]	S serial.readString = 
+[2025-08-07 17:18:45:681] / [INFO]	Q serial.available = 0
+[2025-08-07 17:18:45:682] / [INFO]	Q serial.readString = Due pulse programmer v1

+
+[2025-08-07 17:18:48:752] / [UNDEF]	D serial.readString = 182 90 data received

+
+ing prog size: 16 
+e: 0x14
+3 outputs: 0x7080100 time: 0xb4
+0 BRANCH
+5 EXT_TRIG
+6 BRANCH header, 4 events
+7 outputs: 0x2000002 time: 0x1388
+9 outputs: 0x2000002 time: 0x2bc
+11 outputs: 0x2000002 time: 0x1388
+13 outputs: 0x2000000 time: 0x61a8
+6 BRANCH
+15 E[2025-08-07 17:18:48:753] / [OK]	DONE!

+ 1 - 1
spectrometer_service/mserv00/temp

@@ -8,5 +8,5 @@ program->dpos: 16
 D serial.available = 0
 D serial.readString = 
 D serial.available = 22
-D serial.readString = 254 86 data received

+D serial.readString = 182 90 data received

 

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä