Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
hwern
Posts:
3
Registered:
11/2/12
|
|
XPC Target Filescope - Random CPU overloads
Posted:
Feb 4, 2013 12:51 PM
|
|
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
|
|
|
|