MATLAB Answers

xpctarget ping fails

13 views (last 30 days)
James
James on 4 Aug 2011
Hi,
I have 2 target PCs - T1 and T2.
I configured 'xpcexplr' and boot both PCs. (all configurations are the same but only with different IPs)
Both PCs succesfully boot into the xPC environment.
However, in the xPC environment, 'xpctargetping' fails for T2 but success for T1.
Any ideas why?
Thanks in advance.

Answers (3)

James
James on 4 Aug 2011
Additional info: For both PCs I can ping from the DOS environment. Crossover cable is used. Direct connection between host and target PCs.

Kaustubha Govind
Kaustubha Govind on 4 Aug 2011
I don't have much personal experience with this, but this documentation page might help: xpctest: Test 2 Fails.
  1 Comment
James
James on 5 Aug 2011
Hi, Thanks for your suggestion. I've checked the IP and ethernet cards. They should be alright.

Sign in to comment.


Arnaud Miege
Arnaud Miege on 5 Aug 2011
How do you use xpctargetping? If you just run xpctargetping without any arguments, it will ping only the default target defined in xPC Target Explorer. To ping other targets, you need to specify the IP address of the target PC explicitly, see xpctargetping for more information.
HTH
Arnaud

Community Treasure Hunt

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

Start Hunting!