필터 지우기
필터 지우기

The scope doesn't work with Real-Time Windows Target.

조회 수: 1 (최근 30일)
Valmir Sadiku
Valmir Sadiku 2013년 5월 28일
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
Jan Houska
Jan Houska 2013년 5월 31일
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
Valmir Sadiku 2013년 6월 3일
편집: Valmir Sadiku 2013년 6월 3일
I don't know why but after i changed the Stream Input- with the Packet Input-Block everything works fine. If i use sin wave as an Input for the scope they shows as expected the sine curve.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by