What happens to a string after it is written in serial port using fprintf?

조회 수: 1 (최근 30일)
Vanessa
Vanessa 2014년 3월 5일
댓글: dpb 2014년 3월 6일
What will happen if a string is written to a serial port using fprintf? Does the string stays in the serial port unless deleted/flushed? Thanks for answering!

채택된 답변

dpb
dpb 2014년 3월 5일
It disappears down the serial connection when transmitted...when/how that happens depends on how the port/connection is configured.
  댓글 수: 2
Vanessa
Vanessa 2014년 3월 5일
Thanks for answering! But what do you mean with "depends on how the port/connection is configured"? Can you site examples?
dpb
dpb 2014년 3월 6일
Basically, the state of handshaking between the devices...hardware or software controlled.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Serial and USB Communication에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by