From: dan schott on
"Uzumaki " <narutofan01234(a)yahoo.com> wrote in message <hq8kg9$pfn$1(a)fred.mathworks.com>...
> Hi guys,
>
> I know that recent versions of Real-Time Windows Target (RTWT) support the RS232 communication better than previous versions. But I need to know more about how well RTWT can support RS232. For example, I have some questions as follow:
>
> 1. If I have a RS232 port which is set to run at baudrate 115200 (or even higher), can RTWT handle this?
> 2. What is the minimum possible sample time RTWT can achieve when working with a RS232 port?
> 3. Why doesn't RTWT support a virtual RS232 port (the one created by using a USB-to-RS232 cable)?
> 3. Is there any advice about using RTWT with RS232 communication?
>
> Thank you for reading my question. Any answer would be very appreciated.
>
> vRegards,
>
> Uzumaki

Hi Uzumaki,

1. Yes, RTWT can handle 115200 baud.
2. Approximately, 1/100 = 0.01 s (r2007b, r2008a, r2008b)
3. Because USB is not real-time by design.
4. Follow the link http://www.mathworks.com/matlabcentral/linkexchange/links/2041-real-time-control-platform-for-matlab-and-simulink-dc-motor-control and also visit the website mentioned in the video http://zeltom.com/hilink.aspx.

Dan
 | 
Pages: 1
Prev: please help
Next: How to process the EEG signal