Limit Sample Time with Real-Time Windows Target

Limit Sample Time with Real-Time Windows Target

Post by Alex » Thu, 21 Jul 2005 23:17:02


Hi, I have create a simulink model for data acquisition in real time.
I use the toolboxs Real-time workshop and real-time windows target.
My boards are the PCL-711b (Advantech) and ATMIO16E10 (NATIONAL
INSTRUMENTS). I want to acquired data and save in memory. When I
acquired any signal with sample frecuency of 5Khz o more, the
Duration parameter is 10000 samples, Matlab stopped the acquired I
receive the next error message:

Model adtr loaded
Warning: Received shutdown message from target 15 seconds ago.
Warning: Received shutdown message from target 30 seconds ago.
Warning: Received shutdown message from target 45 seconds ago.
Warning: Received shutdown message from target 60 seconds ago.
Warning: Did not received final data logging buffer and logging
termin.....
Modell adtr unloaded
My computer is a Pentium II 260Mhz with 320MG Ram, but the 2 boards
are a ISA.

I found a solution, I decrease the parameter Duration, example 1000,
the acquisition run good, but the store in memory is bad, produces
jumps,... and the Pc running 100% and is very unstable.

Somebody has had the same problem?

Thanks for all, Alex.