TCP/IP and real time plot/point cloud?
4 views (last 30 days)
Show older comments
Hello, I wish to collect data from a sensor that features a TCP/IP interface and i'm trying to make it work with matlab. I managed to collect data from a single scan and plot the results, however when i send a specific command the sensor send to the input buffer data at 15Hz.
What I'd like to achieve is to read this data almost simultaneously in order to have a dynamic plot or a point cloud, in order to do further analysys. Thanks!
0 Comments
Answers (1)
sen sun
on 20 Aug 2018
you should create a timer to receive real-time data from sensor.
1 Comment
Walter Roberson
on 20 Aug 2018
Probably not. A BytesAvailableFcn callback would probably make more sense.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!