Thread Subject: Serial Port & Simulink

Subject: Serial Port & Simulink

From: Christophe Herault

Date: 3 Oct, 2007 15:36:40

Message: 1 of 1

Hi all,

Working with 2 RF tranceivers, i'd like to connect one to
the PC and the other as a beacon wich will just receive
and retransmit the send message (3 Bytes long).

On Simulink, i'd like to see how i could connect the first
tranceiver wich is connected to the PC and see how it
could send and receive the message on the same port
(COM1), for measuring the RTOA (Time to fly) between the
moment i will send the message and the moment or i will
receive it.

Another point is that i would like to send an ASCII
message. Could i send it via an M-file through Simulink
and see the response (Ack = message sent) on a scope to
see the time difference ? How can i do that ? I'm a newbie
on Matlab.

Could you help me to see how, in Simulink, it is possible
to do this work ?

Thanks for your tricks.

Regards,

Christophe.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
serial port Christophe Herault 3 Oct, 2007 11:40:04
simulink Christophe Herault 3 Oct, 2007 11:40:04
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com