Real Time Data Acquisition in MATLAB(serially)

Thread Starter

lijoostenk

Joined Jan 25, 2013
12
Hello.It has been a long time since I logged on........
While acquiring data serially (Instrument Control Toolbox) in matlab from a microcontroller using the fread function, it takes one second to transfer data from the input buffer to the matlab workspace. A delay of one second is a very high while doing real time data acquisition because some of my values get lost.
Is there any way to decrease this delay drastically so that real time plotting becomes more meaningful?
 

MrChips

Joined Oct 2, 2009
30,821
Please provide us with some numbers.

What is the serial baud rate?
What is the number of data points per second transfered?
How many bits per data point?
What is the size of the buffer?
What is the model number of your CPU?
What OS are you running?
What is the clock frequency of your computer?
 
Top