dtorkin

Untitled

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