User`s guide
Communications
• If the communication between the host PC and target PC is TCP/IP, set the
host PC network interface card (NIC) card and hub to half-duplex mode.
Do no t set the mode to full-duplex mode.
• If you have an active f irew all in your system, y ou might experience
communication errors. For example,MathWorksisawareofbuild
errors that might occur if you try to build and download a model with a
thermocoup le bo a r d (ca using a slower initializa tion time) in a system that
contains a firewall. To work around this issue, you can add the MATLAB
interface to the firew all exception list.
• IfthereareBIOSproblems. Besuretoread“ThexPCTargetSoftware
and the Target PC BIOS”.
• The xPC Target product supports a number of Ethernet cards and chips,
as described in “Hardware for Network Comm unication” in xPC Target
Getting Started Guide. If your target PC has more than one of these cards
or chips installed, such as an on-board Ethernet controller, disable or
remove the controller that you will not use. For example, you can disable
the on-board Ethernet controller throug h the target PC BIO S. An xPC
Target host PC cannot communicate with a target PC that has two ore
more Ethernet controllers that are supported by the xPC Target product.
Failure to d isable extra Ethernet cards o r onboard controllers might cause
timeout problems between the host PC and target PC.
Why Does the xPC Target System Lose Connection
with the Host PC When Downloading Some Models?
If you are using xPC T arget hardware in a m odel, downloading the m o del
might cause a loss of communication betwee n the target PC and host PC if
either of the follow ing is true:
• The referenced x PC Target board has an initialization time that is too slow.
• The referenced xPC Target driver has a problem.
xPC Target I/O Boards with Slow Initialization Times
Some xPC Target boa rds have an i nitialization time that i s too slow. This
might cause software to run out of time before a model downloads, causing
thehostPCtodisconnectfromthetargetPC.
15-7