Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68889

How to get TCP/IP live data

$
0
0

I have a program (which is an executable) which detects the signal from a hardware and then transfer the signal into the local host TCP/IP socket.

 

When I run the program by itself and count the bytes it sends to the TCP/IP socket, the frequency is 128Hz, which means in around 10 seconds, 1280 packets are sent to the TCP/IP server.

 

But when I use LabVIEW to get them, I only managed to get for about 400-500 packets (in 10 seconds), although the packets are correct in sequence, but I can't get enough.

 

How can I solve this problem? I also try to adjust the bytes read in the TCP/IP Read vi and change the miliseconds to wait in the loop, but it gets nothing (see file attached).


Viewing all articles
Browse latest Browse all 68889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>