The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

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

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

scope = tg.getscope(id_scope);
if ~strcmp(scope.Status,'Acquiring')

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

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,

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.