SIL simulation timeout (60 seconds)

조회 수: 11 (최근 30일)
Adrian Stancu
Adrian Stancu 2020년 1월 17일
댓글: Bhasker Pasupuleti 2021년 4월 23일
I am trying to perform a SIL simulation by using the SIL block which interfaces the autocode generated with ert.tlc , C language.
During simulation I receive the following timeout error:
"An error occurred while running the simulation and the simulation was terminated
Caused by:
The timeout of 60 seconds for receiving data from the rtiostream interface has been exceeded. There might be multiple reasons for this failure.
You should:
(a) Check that the target hardware configuration is correct, for example, check that the byte ordering is correct.
(b) Confirm that the target is running.
(c) Consider the possibility of application run-time failures (e.g. divide by zero exceptions, incorrect custom code integration, etc.).
Note (c): To identify possible reasons for the run-time failure, consider using SIL, which supports signal handlers and debugging.
If you cannot find a solution, consider using the method setTimeoutRecvSecs of rtw.connectivity.RtIOStreamHostCommunicator to increase the timeout value."
I know that the code is running very slow, so I expect to exceed 60 seconds. Is there any way to set more than 60 seconds for contection timeout in order to avoid this error?
I am using Matlab 2017a 64 bit.
Thanks in advance.
Adrian
  댓글 수: 1
Bhasker Pasupuleti
Bhasker Pasupuleti 2021년 4월 23일
Were you able to resolve this issue? we are also seeing this issue and was asked to reinstall the s/w and try. But i wanted to understand the root cause of the this error. Any direction or guideance would be highly appreciated..

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

답변 (1개)

jinyu wang
jinyu wang 2020년 5월 6일
I have the same problem,have you solved it?

카테고리

Help CenterFile Exchange에서 Test Model Components에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by