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

Contact us at files@mathworks.com