Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Plot data from Microcontroller

Status
Not open for further replies.

digi001

Full Member level 5
Joined
Apr 5, 2011
Messages
244
Helped
22
Reputation
44
Reaction score
21
Trophy points
1,298
Activity points
2,904
I have 32bit floating-point data running at 10kHz I would like to plot in real-time. The microcontroller pcb has only a RS-232 port and no other peripherals that would be useful to output data.

What is the best way to plot this data via Rs-232? Should I use something like labview to plot this on a computer?
 

Lab view And Matlab are good choices

---------- Post added at 13:44 ---------- Previous post was at 13:37 ----------

But data transfer rate is an important issue ,RS 232 Doesn't have high speed...
So Actual realtime plotting may be a challenging factor
 

Ok. I'm more familiar with matlab. What is the easiest way to plot input data via rs-232 COM?
 

A Matlab real time plotting example
h**p://www.mathworks.com/matlabcentral/fileexchange/27290-collect-and-plot-data-from-a-tcpip-server-in-real-time
Another Example
h**p://www.mathworks.com/matlabcentral/answers/11714-how-to-plot-real-time-with-nidaq-but-see-the-entire-graph-as-it-is-plotting


Once the data has been acquired you can use any of those plotting schemes in matlab
 

I think you can use Baud Rate from 19200 or higher. This will give double the speed of the running data.
 

any examples using rs-232 with matlab? does this require an additional toolbox?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top