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

조회 수: 41 (최근 30일)
Juned
Juned 2023년 1월 6일
댓글: dundan 2024년 2월 21일
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