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

Random values in TCP transmission

$
0
0

Hi 

 

I'm capturing a single grayscale frame (160x120) and sending it through TCP to a C-program. The issue is that before reading the actual pixel values in the console, the first 8 bytes consists of some two random values that is "120" and "160", as shown in the picture below. It seems like those two values are 32-bit unsigned integers, since they each represent 4 bytes. Do the values come from the LabVIEW code shown below ?. 

 

Untitled.png

 

Untitled.png

 


Viewing all articles
Browse latest Browse all 66852

Trending Articles



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