|
Hii dipti can you pls share some info on reading data from serial port,i am stuck with the same problem.i want to read a sensor data continuously from serial port in matlab.
thanks,bye
"Dipti Dabholkar" <dips.dabholkar@gmail.com> wrote in message <gtt4ce$6fm$1@fred.mathworks.com>...
> Hi all!!!
>
> I am using serial port to get the data from the sensor nodes. I am using MATLAB 2008 serial port commands to open and read the data from serial port. I am able to open to serial port and able to read data here. I have set a specific 'TimeOut' period. My code is running for that much time collecting the data in InputBuffer and after that time elapse it shows me the output. But what I wish to do is, I want to know is there any way by which I can store one data packet received on serial port and display it while serial port is reading another packet. Can I do this?
>
> Also,I am able to see the data but when I compared this data using another program 'TerminalRS232' it differs in value! I am not getting why the data which I am receiving on serial port is altered and displaying something else.
>
> Can anyone help me with this problem???
>
> Thanks
|