The scope doesn't work with Real-Time Windows Target.
Afficher commentaires plus anciens
Hi,
I am using the 'Stream Input'-Block from the 'Real-Time Windows Target'-Toolbox to read data from the usb com-port. Everything compiles without any error message, but i can't see anything on the scope? If i try it with the 'Serial Receive'-Block it works fine, but i want to use the Real-Time related blocks. Can anybody tell me what can cause an error, regarding the 'Real-Time Windows Target' and Scope or 'Stream Input'-Block ?
Thanks&Regards V.S
2 commentaires
Jan Houska
le 31 Mai 2013
Likely, this is not the Scope not working but rather a failure to receive the data. Are you sure you have the format string entered correctly? And the baud rate, parity, etc.?
What if you, just for the purpose of testing, replace the Stream Input block by e.g. a Sine Wave? Does the Scope show the sine wave?
Valmir Sadiku
le 3 Juin 2013
Modifié(e) : Valmir Sadiku
le 3 Juin 2013
Réponses (0)
Catégories
En savoir plus sur System Configuration dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!