Why am I getting repeated copies of signals in Data Inspector?

41 次查看(过去 30 天)
I am working with a Simulink Real-Time Model to control and moniter a lab testbed in real time. In-order to moniter the acquired signals form the testbed, I am using Simulink's Data Inspector. I only moniter few signals at a time, but all the output signals are logged. For some reason the logged signals are repating in the data inspector and unnecessarily using up storage space on my system. Does anyone know what could be the reason for Data Inscpetor to create these copies of signals?
PS: I have logged these signal only once in the Simulink Model. Please refer the images below of model input and repetition of signal in Data Inspector.

采纳的回答

Adam
Adam 2023-1-6
  1. You might have set up the logging to record multiple copies of the same signal. You can check the logging configuration by going to the "Logging" tab of the model's configuration parameters and looking at the "Signals" section. Make sure that you have not accidentally selected the same signal multiple times.
  2. You might be running multiple instances of the model, each with its own logging configuration. This could happen if you have multiple copies of the model open at the same time, or if you have the model set to run as a background task or as a scheduled job.
  3. There could be a problem with the logging configuration that is causing the signals to be logged multiple times. For example, if you have selected the "Overwrite" option for the logging destination, the data might be overwritten multiple times, causing the signals to appear repeated in the Data Inspector.
  4. There could be a problem with the Data Inspector itself, causing it to display the same data multiple times. This is less likely, but it is worth checking to make sure that there are no issues with the Data Inspector configuration or any other software that might be running on your system.
If you are not able to resolve the issue by checking these points, you might want to try deleting the logged data and starting the logging again, or you could try using a different logging tool to see if the problem persists.

更多回答(1 个)

dundan
dundan 2024-2-16
I have the same issue. It seems to be a bug and very annoying. The double logging starts as soon as I add some additional monitoring like a simple display. It only happens in RT application on a speedgoat machine. The logged data is then twice in the SDI, pretty annoying.
  2 个评论
Juned
Juned 2024-2-16
Intresting! I am as well using SpeedGoat for data acquisition and I do have few diplay blocks in the workspace.
dundan
dundan 2024-2-21
Try to comment it out or remove it. Assure that all displays are removed! That was the "solution" for me.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Real-Time Signal Logging and Streaming 的更多信息

产品


版本

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by