xPC Target External error

21 views (last 30 days)
jangwon
jangwon on 19 Feb 2014
Commented: Suneesh on 27 Feb 2014
I used xPC Target External Mode
then, click the Model build or model connect, appeared this message
'Error: Executing the 'Get Time' command produced the following error:
Target PC1: Malformed Message'
'Error: Executing the 'Final Upload' command produced the following error:
Target PC1: Malformed Message'
'Error: Executing the Check data' command produced the following error:
Target PC1: Malformed Message'
and warnings in MATLAB command:
Warning: External Mode Open Protocol SetParam command failed with status 1
Warning: External Mode Open Protocol Signal Select command failed with status 1
what does this message mean?
  1 Comment
Suneesh
Suneesh on 19 Feb 2014
1. What release of the product(s) are you using?
2. Are you able to ping the target using 'xpctargetping'. Does 'xpctest' pass? If not then there may be a problem with the network connection to the target or maybe the target is in an invalid state (or not booted up).

Sign in to comment.

Accepted Answer

Suneesh
Suneesh on 20 Feb 2014
1. Is the host target communication on a network shared by other devices? In that case the non xPC network traffic may be causing an interruption.
2. The default time the software waits for the application to be downloaded onto the target is 5 seconds. You may try increasing this to 30 or 60s. See instructions here:

More Answers (2)

jangwon
jangwon on 20 Feb 2014
1. xPC Target ver. 5.5 (MATLAB 2013b) 2. yes, xpctargetping and xpctest is successed and then build, messages that appears when you connect to the target. even after this message appears , the target is operating normally.
Connection time for more than 5 seconds, a message will appear
This message is related to the time that connect to target?

jangwon
jangwon on 21 Feb 2014
1. I don't used to other device, only connect to xPC target device
2. I had to adjust my computer specs. To remove the effect of animation effects and shadows. and, increased the download time (20s)
then, These messages are not observed
Thank you for answer my question
and one more question
can I reduce the time to target connect and build(download)?
Downloading time is not fixed
When I download the same model takes time 2-3 seconds, but sometimes it takes more than 10 seconds
why the download time is different?
  1 Comment
Suneesh
Suneesh on 27 Feb 2014
The only reason I can imagine the download time varies that much is due to heavy load on the host computer. Not necessarily from MATLAB/Simulink but all applications.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!