MyTooliT / ICOc

ICOc is a tool to control the ICOtronic system, acquire data, and test stationary transceiver units and sensory tool holders.
https://mytoolit.github.io/ICOc/
2 stars 0 forks source link

ICOc: Graphical User Interface Freezes After Some Time #18

Closed sanssecours closed 3 years ago

sanssecours commented 3 years ago

Steps to Reproduce

  1. Start ICOc:

    icoc
  2. Connect to an STH (e.g. the first one available)

    • Press 1
    • Press Return (or Enter)
  3. Start the data acquisition: s

Expected Result

ICOc opens a graph that shows the current acceleration of the STH. The graph will show new data as long as we do not close the window.

Actual Result

The window will be unresponsive after some time:

ICOc - Acceleration

and Windows will show the following error message:

ICOc

The terminal window will (probably) print a stack trace that looks like this:

RxOverRun
Traceback (most recent call last):
  File "C:\Users\rene\AppData\Roaming\Python\Python39\Scripts\icoc-script.py", line 33, in <module>
    sys.exit(load_entry_point('icoc', 'console_scripts', 'icoc')())
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\mwt.py", line 1312, in main
    watch_tool.vRunConsole()
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\mwt.py", line 1304, in vRunConsole
    self.vTerminal()
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\mwt.py", line 1255, in vTerminal
    bRun = self.bTerminalMainMenu()
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\mwt.py", line 1157, in bTerminalMainMenu
    return self.bTerminalMainMenuKeyEvaluation(devList)
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\mwt.py", line 1124, in bTerminalMainMenuKeyEvaluation
    bRun = self.bTerminalHolderConnect(keyPress)
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\mwt.py", line 298, in bTerminalHolderConnect
    bContinue = self.bTerminalHolderConnectCommands(
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\mwt.py", line 261, in bTerminalHolderConnectCommands
    bContinue] = self.tTerminalHolderConnectCommandsKeyEvaluation()
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\mwt.py", line 170, in tTerminalHolderConnectCommandsKeyEvaluation
    self.vDataAquisition()
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\myToolItWatch.py", line 813, in vDataAquisition
    self.vGetStreamingAccData()
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\myToolItWatch.py", line 957, in vGetStreamingAccData
    self.vGetStreamingAccDataProcess()
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\myToolItWatch.py", line 837, in vGetStreamingAccDataProcess
    ack = self.ReadMessage()
  File "c:\users\rene\documents\projects\icoc\mytoolit\old\myToolItWatch.py", line 1099, in ReadMessage
    raise Exception("RxOverRun")
Exception: RxOverRun

Additional Information