Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: XPC Target Filescope - Random CPU overloads
Replies: 1   Last Post: Feb 5, 2013 2:09 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
hwern

Posts: 3
Registered: 11/2/12
XPC Target Filescope - Random CPU overloads
Posted: Feb 4, 2013 12:51 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,
I am facing following problem: For reading the filesscope in an xpc target application (Data amount < 1MB!), I have to stop the scope:

Code:
...<snip>
scope = tg.getscope(id_scope);
if ~strcmp(scope.Status,'Acquiring')

stop(scope); %force filescope to stop-> it releases written file from
readonly
% Attach to the target PC file system
fsys = xpctarget.fs;
fsys = handles.tg.fs;
...<snip>

Doing the "stop(scope)" command causes random cpu overloads and freeze, resulting in TCP/ip timeouts. Even I use rather simple simulink-models eg. containing only the filescope.

I also observed, that this problem occurs especially using dynamic filenames.

Any Ideas how to deal with that?

Setup: Matlab 2009b/2012a (more unstable)
Target: Dualcore 3 GHz from Speedgoat, Humusoft AD622 DA/AD, 2Gig Ram
Booted from 300x SD-Card, 2GB

Thanks for your advices,
Helmut




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.