MATLAB Answers

James
0

xpctarget ping fails

Asked by 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.

  0 Comments

Sign in to comment.

3 Answers

James
Answer by 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.

  0 Comments

Sign in to comment.


Answer by 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
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
Answer by 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

  0 Comments

Sign in to comment.