xPC Target | ![]() ![]() |
Increasing the Time Out Value
By default, if the host PC does not get a response from the target PC after downloading a target application and waiting about 5 seconds, the host PC software times out. On the other hand, the target PC responds only after downloading and initializing the target application.
Usually 5 seconds is enough time to download a target application, but in some cases it may not be sufficient. The time to download a a target application is mostly dependent on your I/O hardware. For example, thermocouple hardware takes longer to initialize. In this case, even though the target PC is fine, a false time-out is reported.
To increase the time-out value, use the following procedure:
xpcdltimeout.dat
.
If the file xpcdltimeout.dat
exist, it is read once before every download. To change the time out value, change the number in this file. Setting the time out to 5
is the same as the default. Note also that simply removing the file does not change the time out to the default value. xPC Target uses the last value you entered until you restart MATLAB.
![]() | Troubleshooting the Build Process | xPC Target Code Generation Options | ![]() |