User`s guide

Advanced Troubleshooting
12-19
The referenced xPC Target driver has an issue.
xPC Target I/O Boards with Slow Initialization Times. Some xPC Target boards have
an initialization time that is too slow. This might cause xPC Target to run out
of time before a model downloads, causing the host PC to disconnect from the
target PC.
By default, if the host PC does not get a response from the target PC after
downloading a target application and waiting 5 seconds, the host PC software
times out. The target PC responds only after downloading and initializing the
target application.
Usually 5 seconds is enough time to initialize a target application, but in some
cases it might not be sufficient. The time to download a target application
mostly depends on your I/O hardware. For example, thermocouple hardware
(such as the PCI-DAS-TC board) takes longer to initialize. With slower
hardware, you might also get errors when building and downloading an
associated model. Even though the target PC is fine, a false time-out is
reported and you might get an error like the following:
"cannot connect to ping socket"
This is not a fatal error. You can reestablish communication with the following
procedure:
1 At the MATLAB Command Window, issue the xpctargetping command.
For example,
xpctargetping
2 Wait for the system to return from the xpctargetping.
3 Restart the target object.
Alternatively, you can enact a more permanent resolution and increase the
time-out value using the following procedure:
1 In your MATLAB working directory, create a file called xpcdltimeout.dat.
2 In this file, put a single integer. For example, enter
20