to receive data in serial communication

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Instrument Control Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by