dtorkin

Untitled

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