필터 지우기
필터 지우기

LF terminator stops working when sending data

조회 수: 3 (최근 30일)
fima v
fima v 2020년 10월 31일
Hello,I have defined the port as following
sObject=serial('COM4','BaudRate',115200,'TimeOut',1,'Terminator','LF')
sObject.BytesAvailableFcn={@callbackSerial};
when i do fscanf in my callback function get a burst of data,even if i have a problem of buffering like you said before.
THis burst should never have happening the MOMEMT matlab saw 0A char it should have stop recieving.
Why the LF terminator stops working?
Thanks.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by