Plot Graph Signal From Serial Port I/O

3 ビュー (過去 30 日間)
Adi Mico
Adi Mico 2011 年 4 月 28 日
回答済み: Claudio Gambelli 2013 年 11 月 27 日
How can we plot the signal from serial port I/O (RS232)? Thank You

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 4 月 28 日
Which signal? RS232 can be done in as little as three wires (receive, transmit, and ground), but it is more common to use at least 5 (adding flow control), and on the standard IBM DB-9 serial port, 8 of the 9 pins have a well-defined use.
  4 件のコメント
Adi Mico
Adi Mico 2011 年 5 月 2 日
Both of receive signal to be interpreted as a stream of binary bytes that I want to plot the numeric value of and the receive signal to be interpreted as a stream of characters that represent printable numbers that I want to convert to numbers and plot those.
The signal is send to the matlab become characters actually. But I want to convert them to numbers so I can plot them.
Walter Roberson
Walter Roberson 2011 年 5 月 2 日
I suggest reading this documentation:
http://www.mathworks.com/help/techdoc/matlab_external/f62852.html

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


Claudio Gambelli
Claudio Gambelli 2013 年 11 月 27 日
Yes it's possible to plot data received form serial port, i have developped this tool with customized protocol RTCPlot. Video and information are at the following link: http://www.gambelli.eu/body.php?page=product.htm
Bye Claudio

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by