User`s guide
15 Frequently Asked Questions
• Ensure that you have properly configured the driver.
• Ensure that you are using the latest version of the software .
• Test the hardware using the available diagnostic software included with
the I/O board from the manufacturer.
• Try a different target PC to verify the behavior.
• Report the issue to the MathWorks Support at
http://www.mathworks.com/support/contact_us/index.html.
Can I View the Contents of the Target PC Display on
theHostPC?
From the host PC, you can view the target PC monito r with the MATLA B
xpctargetspy command. For example
xpctargetspy('TargetPC1')
The Real-Tim e xPC Targe t Spy window is displayed on the host PC monitor.
Why Do Attempts to Run My Model Cause CPU
Overload Messages on the Target PC?
A CPU overload is not an error in the software. This condition indicates that
theCPUwasunabletocompleteprocessingamodeltimestepbeforebeing
asked to restart.
This error might occur if you have
• Real CPU overloads — Those caused by model design and/or target PC
resources in u se . For e xample, a model is trying to do more than can be
done in the allocated time on the target PC. Possible reasons are:
- The target PC is too slow or the model sample time is too small (see
“Dealing with Small Model Sample Times” on page 15-23)
- Model is too complex (algorithmic complexity)
- I/O Latency, where each I/O channel used introduces latency into the
system. This might cause the executiontimetoexceedthemodeltime
step.
15-22