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.

Capturing Serial data...

Status
Not open for further replies.

suddy72

Member level 2
Joined
Jun 28, 2007
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,694
Hi everyone,

I currently have a sierial link up and running and i am sending 8 bit words to the PC along this link.

What i want to do is capture this data and input it to MatLab. Does anyone know of any programs that will allow me to capute this data from the serial port in binary or HEX format??

I have a program already but does not allow me to capture in binary and HEX which is what i need.

Any help would be appreciated.

thanks ,

stuart
 

you can use hyperterminal comes with windows
 
Iouri said:
you can use hyperterminal comes with windows

I think Windows hyperterminal is very poor.
I use Br@y's Terminal v1.9 instead.
 

Hyper Terminal does not allow you to capture the data as straight binary or in hex format though.
 

write a program in C to capture tha data from serial port.
EX:

ADD_serialport= ; //address of serial port u use
data=inport(ADD_serialport);[/b] //This function stores the data in a variable name data in decimal format\\

If you want to send the data from serial port u may use the command:

outport(ADD_serialport)=data;

Ishan
 

Hi,
I am not very familier with C. Where would i write this program and how would i get it runnin ?

You dont know of any programs out there that would do this for me ?

I have one running , but i cant save the data as HEX or binary .
 

MATLAB can input data directly from the serial port. Search MATLAB's online help for "serial".
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top