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: Crash on Data Acquisition Start #29

Open sanssecours opened 2 years ago

sanssecours commented 2 years ago

Description

Sometimes ICOc crashes when starting the data acquisition. This bug seems to only happen sporadically and depends on (the configuration of) the hardware. Most of the time a reset of the ICOtronic system seems to fix the problem.

Steps to Reproduce

  1. Start ICOc

    icoc
  2. Select the sensor device using its number in the user interface e.g. 1

  3. Press

  4. Press s to start the data acquisition

  5. The user interface displays the text “Collecting measurement data…”

Expected Result

ICOc opens a plotter window that displays the measured sensor values

Actual Result

ICOc prints the following error message:

Process Process-1: Traceback (most recent call last): self.run…

Note: Some text of the error message is not visible on the screen.

thirschbuechler commented 2 years ago

I did not encounter this (yet) - maybe some issue w specific OS dependency (neither had issues on windows / linux with my little use recently)

will be interesting to see if the plotter or the can asyncio freaks out

sanssecours commented 2 years ago

how often (1/10, 1/100)?

The problem seems to happen quite often on some of the affected systems. Unfortunately I do not have concrete numbers for you, since I am not able to reproduce the issue on my machine.

who?

The problem was once reported by @CWiedermann (via @LoydIrrving) and also by a third party company that uses ICOc in the field.

will be interesting to see if the plotter or the can asyncio freaks out

Since ICOc (the command line tool) still uses the old Network class it should not be a problem with the async interface (of the new Network class). I suspect there is a problem when establishing the connection between ICOc and the plotter process.