Connectivity problem to target machine

I am able to connect to my Speedgoat target machine after target reeboot. But after running it for 10 min or more, connection is lost. I am using Matlab R2019b and Simulink Real-Time Version 6.11 (R2019b).
Here is the response from slrttest (after target has been running for a while).
### Simulink Real-Time Test Suite
### Host-Target interface is: TcpIp
### Test 1, Ping target computer 'TargetPC1' using system ping: ... OK
### Test 2, Ping target computer 'TargetPC1' using SLRTPINGTARGET: ... OK
### Test 3, Software reboot the target computer 'TargetPC1': Error using slrttest (line 160)
TargetPC1: Port is not open

 採用された回答

Dimitri MANKOV
Dimitri MANKOV 2022 年 3 月 10 日

0 投票

Hi Mats,
Could you make sure that no other host PC or MATLAB release is trying to connect to the target? Are you using a direct connection, or do your target and host PC communicate via a LAN?
Best,
Dimitri

3 件のコメント

Mats
Mats 2022 年 3 月 10 日
The setup is the simplest possible. Speedgoat alone connected to host PC using an ethernet cable. No other connections/computers.
Dimitri MANKOV
Dimitri MANKOV 2022 年 3 月 10 日
Could you try running the following commands when this happens? Do you get your connection back?
tg = slrt;
tg.ping('reset')
Mats
Mats 2022 年 3 月 10 日
Hi Dimitri,
Ping reset brings my connection back. Thank you very much!
BR, Mats
>> tg = slrt
Target: TargetPC1
Connected = No
>> tg.ping('reset')
ans =
'success'
>> tg=slrt
Target: TargetPC1
Connected = Yes
Application = pi_test_endurance
Mode = Real-Time Single-Tasking
Status = running
CPUOverload = none
ExecTime = 80368.0000

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

製品

リリース

R2019b

質問済み:

2022 年 3 月 9 日

コメント済み:

2022 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by