- 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.
- 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.
- 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.
- 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.
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.
댓글 수: 0
채택된 답변
Adam
2023년 1월 6일
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.
댓글 수: 0
추가 답변 (1개)
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
dundan
2024년 2월 21일
Try to comment it out or remove it. Assure that all displays are removed! That was the "solution" for me.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!