Eliminating Data lost warnings

Jorge Gonzalez

Posted on 19.01.2018 20:39

We developed a plugin to inject data from a server into 30 different analog channels. We are getting a red indicator on the data lost section of Dewesoft that extends to half of the horizontal range of the control.

What do the Data Lost warnings mean and how can we eliminate them?


Jorge Gonzalez

DEWESoft Support
Technical support
Posted on 23.01.2018 09:30


please try to avoid posting the same question to multiple addresses. We try to get to each question as soon as possible, but sometimes that can take some time.

There are several reasons that can cause DEWESoft to show you the "data lost" warning. I've talked with our core developer and he assumed that you're writing data on the "onGetData" event. The most likely scenario is that you try to communicate with your device at this time as well, causing a slight freeze in the communication with DEWESoft, resulting in a data loss. He suggested to move the communication with your device to a separate thread.

It would be hard to speculate what else could go wrong. I would ask you to share the code with us, but I'm not even sure if that would help, since we wouldn't have access to the same data stream.

Jorge Gonzalez

Posted on 24.01.2018 21:01

Thanks for your suggestion. I was already doing all my network communication on another thread but I found that I was not releasing a critical section inside the OnGetClock() function. After I fixed this, the lost of data notification on the upper right section of the display went away as you can see below:

Unfortunately, when I record data, I see periodic segments when no data is being recorded as you can see in the following image:

What could be causing this?

Thanks for all your help.


Login to reply to this topic. If you don't have account yet, you can signup for free account .
This website uses cookies to ensure you get the best experience on our website. Learn more