Collect and plot data from a TCPIP server in real time

Obtain real time data from a TCPIP object using Instrument Control Toolbox and visualize it live.
12K téléchargements
Mise à jour 1 sept. 2016

Afficher la licence

This example demonstrates how to automatically read a set number of data bytes as and when they are available. This MATLAB® script also generates a real time plot of streaming data collected from the TCPIP server.
The script may be updated to use any instrument/device/TCPIP server to collect real time data. You may need to update the IP address and port.

To generate a report of this entire script, you may use the PUBLISH command at the MATLAB® command line as follows:

publish(real_time_data_plot);

Citation pour cette source

Ankit Desai (2024). Collect and plot data from a TCPIP server in real time (https://www.mathworks.com/matlabcentral/fileexchange/27290-collect-and-plot-data-from-a-tcpip-server-in-real-time), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Instrument Control Toolbox dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.1

Updated license

1.0.0.0