Incoming USB characters lost

조회 수: 1 (최근 30일)
Gavin
Gavin 2025년 5월 1일
댓글: Andrei 2025년 5월 28일
I have an Arduino Pico connected to MATLAB and I use Terminated (CR/LF) trigger to read the input. Each message is about 10 to 12 characters and they come in at random intervals of a few seconds but potentially as fast as a few ms apart. It works 99% of the time or so but I am losing some character packets. It appears that if I am also writing data to disk that USB packets get dropped more often. Is there a way to make sure data isn't lost?
  댓글 수: 2
Rik
Rik 2025년 5월 3일
You might have to share more details about your setup and your code.
Also, does there seem to be a relation between the interval and the chance of data loss?
Andrei
Andrei 2025년 5월 28일
Gavin, please contact MathWorks Support to investigate the issue.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by