dtorkin

Untitled

May 20th, 2025 (edited)
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.85 KB | None | 0 0
  1. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./uvm_app OR
  2. [sudo] пароль для dtorkin:
  3. UVM Application (Iteration 2 - Init & Control Sequence)
  4. UVM: Loading configuration...
  5. Configuration parsed successfully from 'config.ini'.
  6. Found configurations for 4 SVM instances in file.
  7. --- Effective Configuration ---
  8. interface_type = ethernet
  9. UVM Target: 192.168.189.129:8080
  10. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  11. Simulate Control Failure: No
  12. Disconnect After: -1 messages
  13. Simulate Response Timeout: No
  14. Send Warning on Confirm: No (TKS: 1)
  15. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  16. Simulate Control Failure: Yes
  17. Disconnect After: -1 messages
  18. Simulate Response Timeout: No
  19. Send Warning on Confirm: No (TKS: 1)
  20. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  21. Simulate Control Failure: No
  22. Disconnect After: -1 messages
  23. Simulate Response Timeout: Yes
  24. Send Warning on Confirm: No (TKS: 1)
  25. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  26. Simulate Control Failure: No
  27. Disconnect After: 5 messages
  28. Simulate Response Timeout: No
  29. Send Warning on Confirm: No (TKS: 1)
  30. -----------------------------
  31. UVM: Found 4 SVM configurations to connect to.
  32. Thread-safe UVM request queue created with capacity 50
  33. Thread-safe UVM Response queue created with capacity 200
  34. UVM: Connecting to SVMs...
  35. UVM: Attempting to connect to SVM ID 0 (IP: 192.168.189.129, Port: 8080)...
  36. Ethernet: Connected to 192.168.189.129:8080 (handle: 3)
  37. UVM: Attempting to connect to SVM ID 1 (IP: 192.168.189.129, Port: 8081)...
  38. Ethernet: Connected to 192.168.189.129:8081 (handle: 4)
  39. UVM: Attempting to connect to SVM ID 2 (IP: 192.168.189.129, Port: 8082)...
  40. Ethernet: Connected to 192.168.189.129:8082 (handle: 5)
  41. UVM: Attempting to connect to SVM ID 3 (IP: 192.168.189.129, Port: 8083)...
  42. Ethernet: Connected to 192.168.189.129:8083 (handle: 6)
  43. UVM: Connected to 4 SVMs.
  44. UVM: Starting Sender, Receiver(s), and GUI Server threads...
  45. UVM: All threads started.
  46.  
  47. UVM Main: Sending initial 'Init Channel' to active SVMs...
  48. UVM Main: 'Init Channel' (Num 0) enqueued for SVM ID 0 (LAK 0x08).
  49. UVM Main: 'Init Channel' (Num 0) enqueued for SVM ID 1 (LAK 0x09).
  50. UVM Main: 'Init Channel' (Num 0) enqueued for SVM ID 2 (LAK 0x0A).
  51. UVM Main: 'Init Channel' (Num 0) enqueued for SVM ID 3 (LAK 0x0B).
  52. UVM: Main processing loop started (Iteration 2 - Control Sequence)...
  53. UVM Sender thread started.
  54. Отправка сообщения через Ethernet: Тип=128, Номер=0, Длина тела=2, Общий размер=8, Handle=3
  55. Sender Thread: Cannot send message to SVM ID 1 (inactive or invalid).
  56. Sender Thread: Cannot send message to SVM ID 2 (inactive or invalid).
  57. Sender Thread: Cannot send message to SVM ID 3 (inactive or invalid).
  58. UVM Receiver thread started for SVM ID 2 (handle: 5).
  59. UVM Receiver thread started for SVM ID 1 (handle: 4).
  60. UVM Receiver thread started for SVM ID 0 (handle: 3).
  61. Получено сообщение через Ethernet: Тип=129, Номер=0, Длина тела=12, Handle=3
  62. UVM Main: Processing message type 129 from SVM ID 0 (Assigned LAK 0x08, Num 0)
  63. UVM Main: 'Confirm Init' OK for SVM ID 0.
  64. UVM Main: Sent 'Provesti Kontrol' (Num 0) to SVM ID 0.
  65. Отправка сообщения через Ethernet: Тип=1, Номер=0, Длина тела=1, Общий размер=7, Handle=3
  66. UVM Receiver thread started for SVM ID 3 (handle: 6).
  67. GUI Server: Starting listener on port 12345
  68. GUI Server: Waiting for GUI connection on port 12345...
  69. Получено сообщение через Ethernet: Тип=3, Номер=1, Длина тела=8, Handle=3
  70. UVM Main: Processing message type 3 from SVM ID 0 (Assigned LAK 0x08, Num 1)
  71. UVM Main: 'Podtverzhdenie Kontrolya' OK for SVM ID 0.
  72. UVM Main: Sent 'Vydat Rezultaty Kontrolya' (Num 1) to SVM ID 0.
  73. Отправка сообщения через Ethernet: Тип=2, Номер=1, Длина тела=1, Общий размер=7, Handle=3
  74. Получено сообщение через Ethernet: Тип=4, Номер=2, Длина тела=8, Handle=3
  75. UVM Main: Processing message type 4 from SVM ID 0 (Assigned LAK 0x08, Num 2)
  76. UVM Main: 'Rezultaty Kontrolya' received for SVM ID 0. RSK=0x3F
  77.  
  78.  
  79. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./svm_app
  80. [sudo] пароль для dtorkin:
  81. SVM Multi-Port Server starting...
  82. Message handlers initialized.
  83. SVM: Loading configuration...
  84. Configuration parsed successfully from 'config.ini'.
  85. Found configurations for 4 SVM instances in file.
  86. --- Effective Configuration ---
  87. interface_type = ethernet
  88. UVM Target: 192.168.189.129:8080
  89. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  90. Simulate Control Failure: No
  91. Disconnect After: -1 messages
  92. Simulate Response Timeout: No
  93. Send Warning on Confirm: No (TKS: 1)
  94. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  95. Simulate Control Failure: Yes
  96. Disconnect After: -1 messages
  97. Simulate Response Timeout: No
  98. Send Warning on Confirm: No (TKS: 1)
  99. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  100. Simulate Control Failure: No
  101. Disconnect After: -1 messages
  102. Simulate Response Timeout: Yes
  103. Send Warning on Confirm: No (TKS: 1)
  104. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  105. Simulate Control Failure: No
  106. Disconnect After: 5 messages
  107. Simulate Response Timeout: No
  108. Send Warning on Confirm: No (TKS: 1)
  109. -----------------------------
  110. SVM: Will attempt to start 4 instances based on config.
  111. DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  112. DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=1, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  113. DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=1, send_warning=0, tks=1
  114. DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=5, simulate_timeout=0, send_warning=0, tks=1
  115. SVM: Loading configuration...
  116. Configuration parsed successfully from 'config.ini'.
  117. Found configurations for 4 SVM instances in file.
  118. --- Effective Configuration ---
  119. interface_type = ethernet
  120. UVM Target: 192.168.189.129:8080
  121. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  122. Simulate Control Failure: No
  123. Disconnect After: -1 messages
  124. Simulate Response Timeout: No
  125. Send Warning on Confirm: No (TKS: 1)
  126. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  127. Simulate Control Failure: Yes
  128. Disconnect After: -1 messages
  129. Simulate Response Timeout: No
  130. Send Warning on Confirm: No (TKS: 1)
  131. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  132. Simulate Control Failure: No
  133. Disconnect After: -1 messages
  134. Simulate Response Timeout: Yes
  135. Send Warning on Confirm: No (TKS: 1)
  136. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  137. Simulate Control Failure: No
  138. Disconnect After: 5 messages
  139. Simulate Response Timeout: No
  140. Send Warning on Confirm: No (TKS: 1)
  141. -----------------------------
  142. SVM: Will attempt to start 4 instances based on config.
  143. Thread-safe QueuedMessage queue created with capacity 400
  144. SVM: Listener thread 0 initiated for Port 8080 (LAK 0x08).
  145. SVM: Listener thread 1 initiated for Port 8081 (LAK 0x09).
  146. SVM: Listener thread 2 initiated for Port 8082 (LAK 0x0A).
  147. Ethernet: Listening on port 8080 (handle: 3)
  148. Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 3)
  149. Listener (SVM 0): Waiting for connection on port 8080...
  150. SVM: Listener thread 3 initiated for Port 8083 (LAK 0x0B).
  151. SVM: Starting common threads (Timer, Sender)...
  152. SVM: All common threads started. 4 listeners active. Running...
  153. Ethernet: Listening on port 8083 (handle: 5)
  154. Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 5)
  155. Listener (SVM 3): Waiting for connection on port 8083...
  156. SVM Main: Waiting for shutdown signal...
  157. SVM Sender thread started (reads global outgoing queue).
  158. Ethernet: Listening on port 8082 (handle: 7)
  159. Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 7)
  160. Listener (SVM 2): Waiting for connection on port 8082...
  161. SVM Timer thread started.
  162. Ethernet: Listening on port 8081 (handle: 9)
  163. Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 9)
  164. Listener (SVM 1): Waiting for connection on port 8081...
  165. Listener (SVM 0): Accepted connection from 192.168.189.128:56346 (Client FD 4)
  166. Thread-safe QueuedMessage queue created with capacity 100
  167. Listener (SVM 0): Instance activated. Worker threads started.
  168. SVM Processor thread started for instance 0.
  169. Listener (SVM 1): Accepted connection from 192.168.189.128:41714 (Client FD 10)
  170. Thread-safe QueuedMessage queue created with capacity 100
  171. Listener (SVM 1): Instance activated. Worker threads started.
  172. SVM Receiver thread started for instance 1 (handle: 10).
  173. SVM Receiver thread started for instance 0 (handle: 4).
  174. SVM Processor thread started for instance 1.
  175. Listener (SVM 2): Accepted connection from 192.168.189.128:36310 (Client FD 8)
  176. Thread-safe QueuedMessage queue created with capacity 100
  177. Listener (SVM 2): Instance activated. Worker threads started.
  178. SVM Receiver thread started for instance 2 (handle: 8).
  179. Listener (SVM 3): Accepted connection from 192.168.189.128:56820 (Client FD 6)
  180. Thread-safe QueuedMessage queue created with capacity 100
  181. SVM Processor thread started for instance 2.
  182. Listener (SVM 3): Instance activated. Worker threads started.
  183. SVM Receiver thread started for instance 3 (handle: 6).
  184. SVM Processor thread started for instance 3.
  185. Получено сообщение через Ethernet: Тип=128, Номер=0, Длина тела=2, Handle=4
  186. Processor (Inst 0): Обработка 'Инициализация канала'
  187. Параметры: LAUVM=0x1, LAK=0x08 (assigned)
  188. SVM (Inst 0): Эмуляция выключения лазера...
  189. Ответ 'Подтверждение инициализации' сформирован (LAK=0x08).
  190. Отправка сообщения через Ethernet: Тип=129, Номер=0, Длина тела=12, Общий размер=18, Handle=4
  191. Получено сообщение через Ethernet: Тип=1, Номер=0, Длина тела=1, Handle=4
  192. Processor (Inst 0): Обработка 'Провести контроль'
  193. SVM (Inst 0): Эмуляция самопроверки...
  194. Ответ 'Подтверждение контроля' сформирован.
  195. Отправка сообщения через Ethernet: Тип=3, Номер=1, Длина тела=8, Общий размер=14, Handle=4
  196. Получено сообщение через Ethernet: Тип=2, Номер=1, Длина тела=1, Handle=4
  197. Processor (Inst 0): Обработка 'Выдать результаты контроля'
  198. Ответ 'Результаты контроля' сформирован.
  199. Отправка сообщения через Ethernet: Тип=4, Номер=2, Длина тела=8, Общий размер=14, Handle=4
  200.  
  201.  
Advertisement
Add Comment
Please, Sign In to add comment