User`s guide
15 Frequently Asked Questions
How Can I Build a Model That Contains a CAN Board?
The procedure to build a model wit hCANblocksdiffersasfollows:
• In releases prior to R14SP1 (xPC Target software version 2.6.1), if you want
to use the target PC in a CAN network, set up the xPC Target environment
for a CAN library. If you do not configure a CAN library into the system,
you will get CAN errors when building the target application.
In xPC Target software vers ion 2.6.1 and late r, the software selects the
appropriate CAN library for you.
More Help. If the preceding procedures do not resolve the issue, and if you
can build a target application with the CAN board in your model but cannot
download that application to the target,
• Ensure that you are using a supported CAN board.
• In releases prior to R14SP1 (xPC T arget software version 2.6.1), ensure
that you selected the correct choice from the Can Library parameter in
the xPC Target Explorer.
WhyDoIGetTargetPingFailuresortheMATLABInterface
Freezes During the Build Process?
A target ping failure might occur when you build a target application that
has a long ini t ialization process (for example, models that use thermocouple
boards). You might need to increase the time-out value. See “Increasing the
Time-Out Value” of the xPC Target Getting Started Guide.
If you have target ping f ailures and the MATLAB interface freeze s, this
is likely the combined result of an active firewall and a long initialization
process. To co rrect this problem, see “Is There Communication Between Your
PCs?” on page 15-6.
15-20