Why do I get a CPU overload error when executing my PCI 6052E card even at a low sampling rate of 25 Hz in xPC Target 2.9 (R2006a)?
3 views (last 30 days)
Show older comments
I have a simple model with a PCI 6052E analog input block and an output port. I want to test the maximum sampling rate achievable by this setup. I get CPU overload errors even if I run the model at a sampling rate of 25 Hz. I am using Watcom compiler to build my application. PCI 6052E card itself supports sampling speeds upto 333kHz.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The issue is due to Watcom compiler not optimizing code in the desired way and hence leading to the CPU overload errors.
To work around this issue use a supported Visual C compiler.
0 Comments
More Answers (0)
See Also
Categories
Find more on Multicore Processor Targets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!