to receive data in serial communication

2 visualizzazioni (ultimi 30 giorni)
PK
PK il 6 Feb 2012
Modificato: Image Analyst il 2 Ott 2013
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

Risposte (1)

Walter Roberson
Walter Roberson il 6 Feb 2012
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 Commento
PK
PK il 7 Feb 2012
i tried the same and the baud is set to 9600 and any other baud is used am getting some garbage value

Accedi per commentare.

Categorie

Scopri di più su Instrument Control Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by