Plot Graph Signal From Serial Port I/O

How can we plot the signal from serial port I/O (RS232)? Thank You

답변 (2개)

Walter Roberson
Walter Roberson 2011년 4월 28일

0 개 추천

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년 4월 30일
plot the receive signal..
Walter Roberson
Walter Roberson 2011년 4월 30일
Do you want to plot the voltage level of the receive signal, or do you want the receive signal to be interpreted as a stream of binary bytes that you want to plot the numeric value of, or do you want the receive signal to be interpreted as a stream of characters that represent printable numbers that you then want to convert to numbers and plot those?
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일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

2011년 4월 28일

답변:

2013년 11월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by