to receive data in serial communication

1 回表示 (過去 30 日間)
PK
PK 2012 年 2 月 6 日
編集済み: Image Analyst 2013 年 10 月 2 日
i just got a sample code for serial communication from the link referred by the contributor JAN SIMON but the problem is i need to press a button to receive the data from another PC can any one tell which logic can be used to receive data from the terminal of other PC

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 2 月 6 日
There is no special logic for this case. If you are using 9600 or faster then using hardware flow control is recommended.
If the two PCs are connected directly together then you need a "null modem cable".
  1 件のコメント
PK
PK 2012 年 2 月 7 日
i tried the same and the baud is set to 9600 and any other baud is used am getting some garbage value

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeInstrument Control Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by